Synchronizations

A synchronization enables the splitting or synchronization of control between two or more concurrent actions.

Context

There are two types of synchronizations, fork and join. A fork splits a single input flow into several output flows executed in parallel. A join directs multiple input flows into a single output flow, and all input flows must reach the join before the single output flow continues. In the diagram, the node type is calculated automatically based on the number of input/output flows on the node.

In this example, the flow from the Submit Leave Application action is forked into two flows, which pass in parallel through the Check Filled Application and Check Manager Information actions, and form into a single flow to the Forward Application to Manager action.

Procedure

  1. Drag the Synchronization tool from the toolbox and drop it onto your diagram. Specify its properties as appropriate.

    The following properties are available on the Info tab in the General category:

    Property

    Description

    Name/Code/Comment

    Identify the object. The name should clearly convey the object's purpose to non-technical users, while the code, which is used for generating code or scripts, may be abbreviated, and should not normally include spaces. You can optionally add a comment to provide more detailed information about the object. By default the code is synchronized with the name. To decouple name-code synchronization, enter a new code in the Code field.

    Timeout

    Specifies when the synchronization times out. An exception (see Interruptible Activity Regions) occurs if the synchronization takes more than the specified timeout limit.

    Orientation

    Specifies the orientation of the synchronization symbol in your diagram.

    The other tabs such as Dependencies and Diagrams contain additional properties information. For details, see Object Properties.
  2. Select the Flow tool (see Flows) in the toolbox and connect it with the appropriate objects. Alternatively, use the tools in its context menu to create the next object in the flow.