Canceling partial join pattern
The following table summarizes details around the Canceling Partial Join:
Signature |
Canceling Partial Join Pattern |
Classification |
Multi-instance Pattern |
Intent |
The number of concurrent threads is calculated at runtime when the first instance is created. When "n" out of "m" instances get executed, the subsequent task is initiated and the remaining m-n instances get cancelled. |
Motivation |
The determination of the number of instances is performed before the first instance gets executed. The process instance moves to subsequent activities when a given number of task instances have completed, rather than requiring all of them to finish; however, the remaining m-n instances get cancelled. |
Applicability |
The MultiInstance subprocess with the loop completion condition and loop cardinality. |
Implementation |
The BPMN service engine runs a subprocess with a multi-instance loop marker and will create a set of instances. The number... |