Configure a For Each activity
Before you begin
Note: Activities can be inserted at both the workflow and subprocess levels.
- Prerequisites
- Add a resource to the workflow model
Procedure
- In the navigator, click .
- In the resource list, select a resource.
- 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, select Bind from the drop-down arrow next to the Collection field.The Select Variable dialog box appears.
- From the Select Variable browser, select a value to bind to.Note: The resource properties available are dependent on the activities, parameters, data items, and local variables already configured. Not all options are available for each output value.
- Click OK.
- Click and drag an activity you want to insert onto the For Each activity drop point, and configure it.
- Optional: If you have added this activity to a subprocess, add a Break activity to end its execution within this activity.
- Click Save.