Step 6: Create Transitions Between Activities

You use transitions to connect activities to form a process flow. A transition is represented by an arrow between two activities. Arrows are unidirectional, and you cannot draw a transition to a previously executed activity. Control flow in a process definition must proceed sequentially beginning with the starting activity and ending with the End activity.

Conditions

A transition can optionally specify a condition. The condition determines whether a transition is taken when an activity completes processing. After an activity completes, all transitions whose conditions are met are taken. You can have transitions from one activity to many other activities.

For example, if the shipping schedule indicates a delay in shipping the order, you want to notify the customer and enter the information into the customer service system. If it does not, you just enter the information into the customer service system.

Adding Transitions

To add transitions, click the transition tool on the toolbar to draw transitions between activities. You use XPath syntax to define conditions.

If your process definition includes cyclical subprocesses (loops), you can group them using the GUI.