Controlling the Execution of Branches

You can control which branches of the simulation process will run by defining conditional expressions that must be met for a branch to run.

See Also
About Branching
About Conditional Expressions in Branches
Inserting Gateways to Create Branches
  1. From the process diagram, connect the desired activities to the gateway.
  2. To define the branching conditions, double-click the gateway.
  3. From the Gateway Editor that appears, select one of the following conditions for each branch:
    OptionDescription
    Always Execute Always run the activity in this branch.
    Never Execute Never run the activity in this branch. Other branches of the process flow will continue to run.
    Conditionally Execute Run the activity in this branch when the condition is met.
  4. If you selected Conditionally Execute, enter the conditional expression in the Expression text box.
  5. You can enter a parameter in the expression, but it must be qualified with the name of the owning activity. If the activity or parameter names contain spaces, you must surround them with single quotation marks. To help you enter a parameter in the expression, you can do the following:
    1. Select a parameter from the list and click to insert it into the expression.
    2. Click to display the current value of the conditional expression. Possible values are TRUE, FALSE, or EXPRESSION INVALID.
    3. Click to validate the syntax of the conditional expression and the parameter names.
  6. Click OK to close the Gateway Editor.