Chapter 15: Controlling Workflows and Scenarios
We already created a workflow called SAPInvoicePosting
in Chapter 13, Designing Scenarios, with a single sequence of activities to complete the posting of a vendor invoice. In a real-time scenario, there might be conditions that mean we need to execute the same steps multiple times – for example, we need to post multiple vendor invoices. Another condition could be to skip or include a few steps based on a condition – for example, we need to skip the step to go to the tax tab for vendor invoices if tax is not applicable. Similarly, we might want to reuse certain steps, such as activities to log in to or log out of the SAP server.
Let's explore the options that SAP Intelligent RPA provides to cover the following topics:
- Creating reusable scenarios
- Creating a workflow with loops and conditional flows
- Adding loops in the workflow
- Adding conditional flows to the workflow
- Reusing the scenarios and...