Conditional Sequence

Conditional Sequence activity

This activity runs the contained activities if its conditions are satisfied.

Example: A human resources department wants to automate the vacation approval process. To do this, they use a Conditional Sequence activity. First, the workflow must check if the person is requesting five days or fewer. If not, the Conditional Sequence activity is skipped. If so, the workflow runs the Conditional Sequence activity, which does the following: notifies the human resources department using an Email activity. The human resources is notified, and the workflow waits for an approval using a Wait for Entry Change activity. Finally, a sticky note is applied with the approval date using an Add Sticky Note activity.

To set up this activity:

  1. Drag the activity from the toolbox pane and drop it in the Designer pane.
  2. In the properties pane, type a name and description of the activity.
    The name and description editors
  3. In the Connection Profile property box, select the repository you want the activity to use.
  4. Select the activity in the designer pane.
  5. In the Condition property box, click Edit conditions....
  6. Configure the conditions for the branch. If the conditions are not met, the workflow skips this activity.
  7. Click OK.
  8. Drag and drop activities into the conditional sequence activity.

You may want to disable activities if you only want to test specific sections of your workflow. To disable activities:

  1. Select an activity in the designer pane to highlight it.
  2. In the Description property box, clear Enable.