Define Conditions for Stage or Activity

In the Conditions pane, you can specify conditions to enable, activate or terminate a stage or activity in workspace.

Enablement: If the Manually Activated marker is enabled, you can define an enablement condition to control transition of a stage from Available to Enabled.

Activation: If the Manually Activated marker is enabled, you can define an activation condition to control transition of a stage or activity from Available to Active. An activation decorator Activation icon appears on the stage or activity that has the condition defined.

Termination: Specify a termination condition to terminate an Active stage or activity without its execution being complete. A termination decorator Termination icon appears on the stage or activity that has the condition defined.

Conditions are triggered by events or by data or both. To create a condition:

  1. Select the stage or activity for which you want to define an activation or termination condition.
  2. Click the Condition icon Condition iconpresent on the right of the process editor canvas.
  3. Click Create Condition Create Conditionnext to Activation or Termination.
  4. In the resulting pane, provide a suitable label for the condition.
  5. To create an event trigger, click Create Event Create Eventnext to Events and define a trigger from the available drop-down fields.

    For example, if you want a stage to be completed only after its previous stage is complete, select Previous Stage in the Stage or Activity drop-down field, and Complete in the Actions drop-down field.

    The following table details the options you can select from the Actions drop-down field for a Stage or Activity.

    Selection Triggers the Condition When…
    Complete The selected plan item completes execution.
    Auto-Start The selected plan item is automatically started. (Auto transition between Available to Active)
    Create The selected plan item is instantiated.
    Disable The disable action occurs on the selected plan item.
    Enable The enable action occurs on the selected plan item.
    Exit The exit transition occurs on the selected plan item.
    Fault The selected plan item encounters a fault.
    Manual Start The selected plan item is manually started.
    Reactivate The selected plan item is reactivated.
    Re-Enable The selected plan item is re-enabled.
    Terminate The selected plan item’s termination condition is met.

    Note:

    • You can create event triggers for a stage or activity based only on its siblings. That is, for an activity within a stage, you may create an event trigger based on other activities within the same stage. Similarly, you can define event triggers for a stage based on other stages or global activities only.
    • When you create multiple event triggers for the same stage or activity, a logical AND expression is formed which includes all triggers.
  6. To create a data trigger, click Create Data Condition Create Data Condition next to Data Driven to define a condition based on a process variable's value in the payload.
  7. Click Create to save the changes.
  • If you want to edit a defined data condition click Edit Edit Data Condition.
  • Click Delete Delete iconto delete a defined event trigger or data condition.