Using asynchronous workflows
A workflow executes its elements along its path one after another. Using asynchronous workflow execution, we can change this behavior and actually execute workflows in parallel.
We will need to build a new workflow.
For the first example, we will reuse the sleep workflow as well as the
getNow action we created in the recipe Waiting tasks in this chapter. (
06.04.01 Sleep and the
com.packtpub.Orchestrator-Cookbook2ndEdition.helpers module in the example pack).
How to do it...
We will see two examples to demonstrate the asynchronous feature.
The first example
Here are some basics:
- Create a new workflow and create the following variables:
It defines the ...