IF Workflows

IF Workflows are a special type of Workflow objects that represent IF statements. They have two branches to which you can assign tasks. Depending on the conditions you specify, one of the two branches is processed.

IF Workflows do not support bulk operations.

This page includes the following:

Overview

The structure of IF Workflows is predetermined and cannot be changed. Objects can only be added to the True and Else lines and they are arranged in series. You cannot create branches or draw individual lines. If you need more complex structures, you must embed other Workflows.

IF Workflows can include any executable object except Schedules. They can also include other IF Workflows. They cannot contain external dependencies (tasks in the Workflow that start outside the Workflow).

The tasks of the branch that should run (True or False) are activated and processed when the conditions have been evaluated. The tasks of the other branch are not processed. They are displayed in white and their status in the Workflow is UNPROCESSED. They do not get a runID and they do not result in tasks in the Process Monitoring perspective.

Adding Tasks

  1. Open the Objects pane and search for the object.
  2. Select the object and drag-and-drop it to the position in the IF Workflow box where you want to have it.

Tasks in IF Workflows cannot be linked manually. They are linked automatically to the tasks that are before and after the position where you drop it. You can change their position by moving them.

Deleting Tasks

Select the task that should be deleted in the True or Else branch. Then delete it in the same way as for other workflows.

However, the connector lines in IF Workflows are predefined and cannot be deleted.

Moving Tasks

You can change the order in which the tasks are arranged as you like. You can even move tasks to another branch. However, the tasks that are included in a branch can only be arranged in a sequential order.

Forecasts

For forecast calculations, the system uses the branch with the longer total processing duration.

Restarting

Restarting an IF Workflow behaves as a regular start. The system reevaluates the defined START conditions and actions.

Modifying at Runtime Not Possible

The properties of IF Workflows cannot be modified. For this reason, the Modify button is always disabled in the monitor toolbar. However, you can perform certain functions on the tasks in an IF Workflow. For example, set a breakpoint, cancel, restart, etc. The status and the type of the tasks determine which functions are available.

For information about which functions are available see Available Functions Depending on the Task Status.

See also: