I have a workflow event that creates an Approval thing for a related Request thing, and then triggers a Custom Event that performs a search on the Approval thing before running. This wasn’t working correctly and only after creating a second approval thing did the Custom Event fire.
I’ve since read a few posts on here and noticed that there is a “Trigger custom event when data changes” action, so I added a field to watch on the Request thing that gets updated after the creation of the approval thing, but this still didn’t work.
It’s like there hasn’t been enough time between the creation of the thing and the search of the thing to allow the Custom Event to trigger.
The use case I’m trying to achieve is: There are two Things: Request and Approval. A Request is created and then needs to be approved by 10% of related Approvers once the Request’s Status = “Ready for Approval”. At “Ready for Approval”, Approvers can approve, and once 10% approve, the Status of the Request needs to be changed. How can I accomplish this?