Only several task can be run async: HTTP, EVENT, KAFKA. But why there is no a way to run SIMPLE tasks async. Especially would be very useful feature to run sub workflows async. The only workaround(and only for subworkflows) is to send event which will be handled by registered event which will run workflow
Asked
Active
Viewed 564 times
1 Answers
0
I'm late to the party here, but check out the FORK operator.
https://orkes.io/content/docs/reference-docs/fork-task
In this workflow the fork splits your workflow into 3 paths - to send an email, SMS and a HTTP notification. Each path runs asynch. You can also set your JOIN (the other half of the fork) to JOIN_ON all or just some of the fork "tines"
If you need to define the number of asynchronous flows at runtime - the Dynamic Fork is the way to go (but it is a bit more complicated to set up).
https://orkes.io/content/docs/reference-docs/dynamic-fork-task

Doug Sillars
- 1,625
- 5
- 7
-
Interesting point, thanks for idea – nikolayandr Aug 11 '22 at 12:00