An Ad-Hoc Sub-Process is a specialized type of Sub-Process that is a group of Activities that have no required sequence relationships. A set of Activities can be defined for the Process, but the sequence and number of performances for the Activities is determined by the performers of the Activities.
: BpmnAdHocSubProcess (architecture_autodiagram)
Figure 2 : BpmnAdHocSubProcess (architecture_autodiagram)
AdHocOrdering Ordering [1..1]
This attribute defines if the Activities within the Process can be performed in parallel or must be performed sequentially. The default setting is parallel and the setting of sequential is a restriction on the performance that may be required due to shared resources. When the setting is sequential, then only one Activity can be performed at a time. When the setting is parallel, then zero (0) to all the Activities of the Sub-Process can be performed in parallel.
boolean CancelRemainingInstances [1..1]
This attribute is used only if ordering is parallel. It determines whether running instances are cancelled when the completionCondition becomes true.
string CompletionCondition [1..1]
This Expression defines the conditions when the Process will end. When the Expression is evaluated to true, the Process will be terminated.