In this article:

Adding a Gateway

Changing Gateway Type

Deleting Gateway

Adding a Group of Steps

Adding Conditions for Groups of Steps

Change condition execution order

Delete condition

Renaming Condition

Setting Up Stage Steps Execution Conditions

After creating stage steps, steps execution conditions can be set up using the gateway. The gateway is used to automatically merge stage steps into groups consisting of one or more steps. If the stage contains only one step, the gateway cannot be used. One gateway type can be selected for one step only.

To set up stage steps execution conditions:

  1. Execute one of the operations:

  1. Add the required type of gateway. When a gateway is added, groups of steps are created automatically.

To move steps from one group to another:

  1. If required, add groups of steps. It is available only in the web application.

  1. Add execution conditions for group of steps.

  2. Rename conditions to describe process execution order.

As a result, execution conditions are set up for stage steps.

Adding a Gateway

To use the gateway:

select a process step in the working area of the business process setup dialog box and select the required type of gateway in the drop-down menu of the Exclusive Gateway button on the toolbar. The gateway selection button looks like the last selected gateway.

Available gateway types:

  •  Exclusive Gateway. Conditions of groups of steps are successively verified:

    • If the condition is satisfied, only one group of steps is executed and the process goes to the next step.

    • If the condition is not satisfied, the condition of the next group of steps is verified.

    • If none of group of steps conditions is satisfied, default group of steps is executed. If default group of steps is not set, the process execution goes to the next stage.

When a gateway is selected, the condition for group of steps is not set. The group of steps looks as follows:

  •  Parallel Gateway. Groups of steps are executed in parallel.

When the gateway is selected, the group of steps looks as follows:

  •  Inclusive Gateway. Conditions of groups of steps are verified in parallel. If several conditions are executed, groups of steps are executed simultaneously.

When a gateway is selected, the condition for group of steps is not set. The group of steps looks as follows:

When creating the Exclusive Gateway or Inclusive Gateway gateway, add conditions for each group of steps. Available options of conditions statuses:

NOTE. To save the intermediate result, one can save the process with incorrect and/or partially determined settings.

  •  Condition is Specified. It is used on setting up a business process. The condition is set, the selected condition for group of steps is verified on starting the process.

  • Condition N, where N - condition number. It is used on setting up business process and on process monitoring. The condition is specified, the selected condition for group of steps is verified on starting the process. If required, rename the condition.

  • Default. It is used on setting up business process and on process monitoring. The group of steps is executed only if none of conditions of other stage groups of stage steps were executed. If a condition is added for group of steps, it is not taken into account on using the Default status.

NOTE. The Default condition can be added only for one group of stage steps.

select a process step in the working area or process tree of the business process setup dialog box and execute one of the operations:

  • Select gateway type in the drop-down menu of the Gateway button on the Process ribbon tab:

    •  Parallel Gateway. Groups of steps are executed in parallel.

When the gateway is selected, the group of steps looks as follows:

    •  Exclusive Gateway. Conditions of groups of steps are successively verified:

      • If the condition is satisfied, only one group of steps is executed and the process goes to the next step.

      • If the condition is not satisfied, the condition of the next group of steps is verified.

      • If none of group of steps conditions is satisfied, default group of steps is executed. If default group of steps is not set, the process execution goes to the next stage.

When a gateway is selected, the condition for group of steps is not set. The group of steps looks as follows:

    •  Inclusive Gateway. Conditions of groups of steps are verified in parallel. If several conditions are executed, groups of steps are executed simultaneously.

When a gateway is selected, the condition for group of steps is not set. The group of steps looks as follows:

    •  No Gateway. It is used by default. The steps in the group are executed consecutively.

  • Select the Gateway Type item in the step's or gateway's context menu.

  • Press:

    • CTRL+ALT+P. Parallel gateway.

    • CTRL+ALT+E. Exclusive gateway.

    • CTRL+ALT+I. Inclusive gateway.

    • CTRL+ALT+N. No gateway.

When creating the Exclusive Gateway or Inclusive Gateway gateway, add conditions for each group of steps. Available options of conditions statuses:

  •  Condition is not Specified. It is used on setting up a business process. The condition is not specified, the process cannot be started. On an attempt to save the process the error message is displayed.

  •  Condition is Specified. It is used on setting up a business process. The condition is set, the selected condition for group of steps is verified on starting the process.

  •  Condition is Satisfied. It is used on process monitoring. The condition is satisfied, the system proceeds to step activation in groups with the satisfied condition.

  •  Condition is not Satisfied. It is used on process monitoring. The condition is not satisfied, the execution process goes to checking condition of the next group of steps or stage.

  •  Default. It is used on setting up business process and on process monitoring. The group of steps is executed only if none of conditions of other stage groups of stage steps were executed. If a condition is added for group of steps, it is not taken into account on using the Default status.

NOTE. The Default condition can be added only for one group of stage steps.

Changing Gateway Type

To change type of added gateway:

Deleting Gateway

To delete the added gateway:

If there is no gateway, steps are executed one by one.

Adding a Group of Steps

NOTE. It is available only in the web application.

To add a group of steps:

  1. Select one or several steps from any stage groups with gateway.

  2. Click the Group button on the toolbar.

As a result, a group with the selected steps is added to the end of the list of stage groups with gateway.

Adding Conditions for Groups of Steps

To add a condition for group of steps:

  1. Execute one of the operations:

The Change Condition for Group of Steps dialog box opens.

As a result, the Condition dialog box opens in the web application or the Change Condition for Group of Steps dialog box opens in the desktop application.

  1. Click the Add button in the web application or the Add button in the desktop application. A string with condition parameters is displayed.

  1. Set parameters:

NOTE. Displayed types depend on the attribute data type, which is selected in the Subprocess Parameter column.

  1. If required, use the Default condition status. To do this:

The Default group of steps is executed if none of other groups of stage steps conditions is satisfied. If a condition is added for group of steps, it is not taken into account on using the Default status.

As a result, execution conditions will be set for a group of steps.

Change condition execution order

To order of conditions, click the Up and Down buttons in the web application or the Up and Down buttons in the desktop application.

Delete condition

To delete one of the conditions, select the condition and click the Delete button in the web application or the Delete button in the desktop application.

To delete all conditions:

Renaming Condition

NOTE. It is available only in the web application.

To rename condition, execute the following operations:

  1. Double-click the condition name in the working area.

  2. Enter new condition name.

  3. Click outside the condition.

After stage steps conditions are set up, proceed to simulation of steps execution.

See also:

Building Process | Creating Stage Steps