Automatically trigger a flow when state attribute changes at the counterparty
Automatically trigger a flow when state attribute changes at the counterparty I have party A which has created one transaction and added a participant Party B. The state created in the transaction is shared with Party B. There are state properties like FirstName, LastName and Status. Party B changes the status to green and then the transaction is completed and recorded to vault of Party B and Party A. The same process is followed between Party A and Party C. The same process is followed between Party A and Party D. ------Party B / Party A /-------Party C ------Party D I have a use case wherein Party B, Party C, Party D can change the status in the state to Green. As soon as all the status becomes green, i want to initiate a flow at Party A. What is the best way to implement this in Corda? You could put your logic in the responder flow, the setback is that the system will query every single time to check if the criteria is...