Adding loops to the workflow
To execute the activities on pages or steps in a workflow, SAP Intelligent RPA provides activities under the Flow – Loop activity group in the Activities panel. As with the vendor invoice posting business process, we will be posting multiple vendor invoices with the same workflow by using these activities.
The loop activities are shown in the following screenshot:
Let's understand each of these activities and when to use them:
- The Start activity: This activity denotes when the loop starts in the workflow. We will include this activity at the start of the steps that require looping. In our business process, we will start the loop after entering the Enter Vendor Invoice page.
- The Exit activity: This activity follows the Start activity. Here, we will be specifying the condition to exit the loop. If we are looping through an array variable,...