Add a condition to an If/Else activity
Before you begin
Note: There can be only one condition placed on a branch of an If/Else activity, with the exception of the last branch.
Activities can be inserted at both the workflow and subprocess levels.
Procedure
- In the navigator, click .
- In the resource list, select the workflow that you want to work with. If no workflow exists, create a new workflow.
- In the Displays panel, click .
- Click the Workflow Editor tab.
- Insert an activity:
- At the workflow level:
- From the Standard Activities panel, click and drag the activity you want to insert to a drop point.Note: Activities can exist only between the presubprocess and postsubprocess.
- From the Standard Activities panel, click and drag the activity you want to insert to a drop point.
- At the subprocess level:
- Double-click the local subprocess you want to add the activity to.
- From the Standard Activities panel, click and drag the activity you want to insert to a drop point.
- At the workflow level:
- Click the branch you want to create the condition on.
- On the activity configuration panel, click Edit Condition.The Expression Editor dialog box appears.
- Enter the expression required to satisfy the If/Else condition:Tip: For more information, see Workflow Expressions.
- Click Check Syntax.
- Click Test.
- Clck Evaluate.
- Click Close, and then click OK.
- Click Save.