What is a Termination Wait Activity?

The Termination Wait activity gives an optional synchronization point in a calling process for a called subprocess only if the "keep relation with child" property is enabled in the Process Creation activity. It is always used in combination with the Process Creation activity.

The combination of having Process Creation and Termination Wait activities in a process is very similar to that of using a Subflow activity. The advantage to the combined Process Creation and Termination Wait activities is that several activities can occur between the two of them while the subprocess is running. Termination Wait activities are optional and only need to be used if you wish to halt processing an instance until the called subprocess completes.

Using the Termination Wait Activity

The following table outlines some of the considerations when using the Termination Wait Activity within ALBPM Studio.

WorkSpace

The Termination Wait activity is not visible in WorkSpace.

Roles

Termination Wait activities can reside in user-defined and automatic role lanes. However, if the Termination Wait activity is in a user-defined role, it will not appear in WorkSpace.

Variables

The Termination Wait activity can define instance variables to determine the argument mapping received from the End activity of the called process.

Pre Conditions

Somewhere in the process previous to a Termination Wait activity, there must be a corresponding Process Creation with keep relation with child enabled.

The Termination Wait activity has defined which Process Creation activity it is related to.

Termination Wait activities expect an incoming instance from another activity in the process. Once reached, the instance will wait there until the subprocess called from the Process Creation activity reaches its End activity.

Post Conditions

When an instance reaches the End activity in the called subprocess, it is returned to the Termination Wait activity in the calling process. Instance variables are updated based on the defined Argument Mapping. The instance then continues on through one of the transitions leaving the Termination Wait activity.

Transitions

Termination Wait activities have one or more incoming transition(s) and one or more outgoing transition(s).

Tasks  
Business Process Methods

No scripting is available. To pass arguments between processes, the argument mapping function is available.