Multiple instances without prior runtime knowledge pattern
The following table summarizes the details around Multiple Instances Without Prior Runtime Knowledge:
Signature |
Multiple Instances Without Prior Runtime Knowledge Pattern |
Classification |
Multi-instance Pattern |
Intent |
The number of concurrent threads is not known in advance at the design time and is calculated at runtime. However, the number of instances is not known until the last instance is executed. Concurrent thread synchronization must be performed. |
Motivation |
The determination of the number of instances will be performed at runtime; however, the determination of instances is deferred until the last instance gets executed. Instances can be executed in parallel/sequence and must be synchronized before completion. |
Applicability |
This refers to the multi-instance subprocess. |
Implementation |
The BPMN service engine runs a subprocess with a MultiInstance loop marker and will create a set of instances, one for... |