Action after a router??
Status: Closed · Asked by mustafamohsen on · 0 views
Might be a noobish question, but I see that a Router action is disconnected from anything after it. Does this mean that it is THE last node, and everything afterwards should reside inside it? What if I want a router for a simple conditional split, then I have a series of long actions afterwards that should hapen either way, should I repeat them inside the router in all routes?
Yes, Router is always the Last Node and you can't add any step after that.
But there options for you to achieve what you want,
1. If it is a single condition use Filter instead of Router which will allow you to add steps after filter.
2. In Router all the Routes with TRUE condition will get executed. So you can make last router in way where condition is always TRUE so it will always get executed with all the steps you need.
3. Setup siilar steps in all routes as you suggested.(by the way you can clone routes to save time)
4. Ssend data to another workflow using API module and execute remaining steps there, this way you will not have to make clone of routes.
Yes, Router is always the Last Node and you can't add any step after that.But there options for you to achieve what you want,
1. If it is a single condition use Filter instead of Router which will allow you to add steps after filter.
2. In Router all the Routes with TRUE condition will get executed. So you can make last router in way where condition is always TRUE so it will always get executed with all the steps you need.
3. Setup siilar steps in all routes as you suggested.(by the way you can clone routes to save time)
4. Ssend data to another workflow using API module and execute remaining steps there, this way you will not have to make clone of routes.
That's interesting. Thanks @Fagun Shah
How would I call another workflow using API? Should it trigger a Webhook? If so, how would I pass all the input data?
Edit: Just found it. Thanks
That's interesting. Thanks @Fagun ShahHow would I call another workflow using API Should it trigger a Webhook If so, how would I pass all the input data
Here is an example - https://prnt.sc/188iyrh
Here is an example - https://prnt.sc/188iyrh
Cool. Thanks