Carry out the following steps:
<forEach>
activity from the BPEL constructs palette in between the receiveInput
and callbackClient
activities. Then, the basic configurations of the <forEach>
activity can be set as follows:<forEach>
activity. On the General tab, set Counter Name as foreach_counter
. Subtasks within the <forEach>
activity can be parallalized by ticking the Parallel Execution checkbox, as shown in the following screenshot:<startCounterValue>
and <finalCounterValue>
, go to the Counter Values tab. Set the unsigned integer expressions for start and final counter values. Then click on Apply and then on OK, as shown in the following screenshot:<invoke>
activity within the <forEach>
activity so the <invoke>
activity can be repeatedly executed:In the preceding section, we added a <forEach>
activity and configured its essential parameters such as initial counter value and counter value at completion. Finally, we added an uninitialized <invoke>
activity that will be configured in the next section as the repetitive execution logic. There are other configuration parameters that define the execution behavior of a <forEach>
activity, which were not covered in the last section. However, they are discussed later.