Configure a While activity
Before you begin
Note:
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:
- On the activity configuration panel, click Edit Condition.The Expression Editor dialog box appears.
- Create the expression required to satisfy the While condition:
- Click Check Syntax.
- Click Test.
- Clck Evaluate.
- Click Close, and then click OK.
- If required, click and drag an activity you want to insert onto the While activity drop point, and configure it.
- Click Save.
Results
Important:
As long as the While activity expression evaluates to True, it continues to loop. As soon as the condition evaluates to False, the process continues.