9 - Add 2nd Approval With Custom Variables, Conditions and Form Events
Intermediate
20 min.
Create a second approval that can veto the badge but only within 24 hours, using custom variables, conditions and form events.
You will learn
- How use conditions
- How to create and access custom variables
- How to use form events
Prerequisites
- You have completed the previous tutorial for the event-based processes CodeJam, Create Actions to Get Data from S/4HANA.
SAP Build Process Automation enables many types of flows and branching. Here we will introduce 2 types of flow controls:
-
Conditions, where the flow can branch based on a specific condition. You can create up to 10 branches.
-
Process events, where the flow can change based on certain events that occur within a process. We will use form time events, which get raised after a specific amount of time and alter the flow.
Our scenario is: You will check if the new business partner is from the United States. If yes, then a second approval step is needed from the local staff. But … that approver only has 24 hours to veto the issuance of the badge – after that, the badge is automatically approved.










































