The If..Then activity tests the Where expression
in the If branches to determine what branch
of the If..Then activity to run.
About this task
By default, each If..Then activity includes
an If branch and an Else branch.
You can add if additional
branches to an If..Then activity.
When the Where expression in the If branch
is equal to true, processing proceeds down that If
branch of the orchestration. If an If..Then activity
contains multiple If branches, the Where expressions
in the If branches are tested in sequential
order. When none of the Where expressions in
the If branches are satisfied, processing
proceeds down the Else branch.
You also have the option of copying a branch or Else branch
from another If..Then activity.
To use an If..Then activity complete the
following steps:
Procedure- Open the Activities tab and the Logic folder.
- Drag the If..Then activity onto the orchestration.
- Add more If branches as required.
- Configure the If and Else branches.
Copying and pasting If
nodes
- Click the If branch and select Copy from
the list.
- Click on the If..Then activity in the orchestration
and select Paste from the list.
Note: If and Else branches
cannot be pasted outside of an If..Then activity.
You cannot replace an If branch with an Else branch.
Copying and pasting Else
nodes
Else branches can be pasted
into a If..Then activity only if the If..Then
activity does not already contain an Else branch.
- Click the Else branch and select Copy from
the list.
- Click the If..Then activity and select Paste from
the list.
Adding branches
- Click the If..Then activity and select Add
If.
- Define the conditions and
the activities for the branch as described above.
Editing an activity or branch
- Select the activity or branch to edit existing properties.
- Select Edit from the list.
Deleting an activity or branch
- Select the activity or branch to edit existing properties.
- Select Delete from the list.
Note: If you
delete a condition branch, all activities within the condition branch
are also deleted.