Adding a Conditional Transition

You can add conditional transitions directly from the activity context menu.

To add a conditional transition:

  1. In the process design editor, right-click on the activity from which the transition will flow, and click Add conditional transition (Conditional Transition icon
				).
  2. Click on the activity the transition will flow to. Note that as you move the mouse, the transition line is shown. The Transition dialog box appears.
  3. In the Name field, enter a name for the new transition.
  4. Switch to the Properties page of the Transition dialog box.
  5. Enter a conditional expression using PBL syntax. This expression should evaluate to a boolean (a value which is either true or false).

    The condition can use instance variables. To see the instance variables which are available, click on the Instance Variables icon.

    The following illustrates valid and invalid conditional expressions, where total is an instance variable of type Decimal:
    Valid Expression Invalid Expression
    true "true"
    total > 2500 2500
    total > 0 total
  6. Click OK.

The conditional transition is added to the process diagram.