Delay a router branch until another branch has completed
complete
Marcus Smith
There are some scenarios where I want to create a router branch to perform a function which will influence what happens in another branch. In one example one branch check if a contact exists in Xero and if not it will create a contact. On another router branch it tasks a shopify order and creates an invoice in Xero for this contact. For this to work the invoice needs to be created before the invoice is created. Therefore I want to pause or delay one branch until the create contact branch is complete.
Log In
D
Darin Patterson
updated the status to
complete
The existing function of a router already works this way. Routes are executed in order for each bundle that arrives at the router.
Michael Cannon
Building your operations in the precedence ordering of left to right and top to bottom will achieve what you are looking for.
I use routers to create the precedence and ordering I require in my operations.