You can loop over parts of the activity diagram using decisions. This means that the actions that are part of the loop will be execution until a defined end condition has been reached.
The example below shows a simple loop over two action nodes.
getIdoc takes an SAP IDoc from a list of IDocs and provides it to processIdoc for processing. The decision node has two outgoing control flows:
- If there is still a next IDoc, the activity loops to the processing action node and fetches the next IDoc.
- If there is no more IDoc, the activity goes to the final node.
Overview
Content Tools