...
The following diagram shows the "Y"-pattern Job Chain used in the example download archive that is linked from this article. Note that the generate and wait Jobs in this example have been included to make the example work and are not required for its operation in "normal" use.
Flowchart |
---|
main [label="Order:main_order",fillcolor="green"] 100 [label="generate orders",fillcolor="lightskyblue"] add [label="Order:main_order_add-order",fillcolor="green"] 150 [label="wait",fillcolor="lightskyblue"] 200 [label="200 job_a",fillcolor="lightskyblue"] 300 [label="300 job_b",fillcolor="lightskyblue"] join [label="join orders",fillcolor="lightskyblue"] 400 [label="400 job_c",fillcolor="lightskyblue"] success [label="success",fillcolor="orange"] main -> 100 100 -> 150 150 -> 200 200 -> join add -> 300 300 -> join join -> 400 400 -> success |
- Note that the generate and wait Jobs in this example have been included to make the example work and are not required for its operation in "normal" use.
- All Jobs in the "Y"-pattern are configured as a single Job Chain.
- The generate and wait Jobs in parallel arms of the example provide a convenient way of making the example work - they would not be required in a 'real' implementationare effectively job_a to the Join Orders Job and job_b to the Join Orders Job.
Download and Configure the Example
...