Configure a While activity

Before you begin

Note:
Activities can be inserted at both the workflow and subprocess levels.

Procedure

  1. In the navigator, click Workflow > Workflows.
  2. In the resource list, select the workflow that you want to work with. If no workflow exists, create a new workflow.
  3. In the Displays panel, click Workflow Management > Workflow Editor.
  4. Click the Workflow Editor tab.
  5. 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.
    • 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.
  6. On the activity configuration panel, click Edit Condition.
    The Expression Editor dialog box appears.
  7. Create the expression required to satisfy the While condition:
    1. Click Check Syntax.
    2. Click Test.
    3. Clck Evaluate.
    4. Click Close, and then click OK.
  8. If required, click and drag an activity you want to insert onto the While activity drop point, and configure it.
  9. 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.