Using Conditions to Control the Flow

Objectives
After completing this lesson, you will be able to:

After completing this lesson, you will be able to:

  • Create and configure process conditions
  • Define different process flows for each conditional criterion

Using Conditions to Control the Flow in an Overview

Introduction

Sometimes a process is not only a sequential flow of steps, but it branches down one path or another based on the business situation. In this lesson, you will learn how to add a process condition that routes the business process based on certain criteria. These conditions apply an 'If/Else rule', and the business process responds according to the rules defined in the condition settings of the process. Therefore, when the 'If' expression has the definition of a condition, the 'Else' expression holds the instruction about what to do if the condition is not met.

With SAP Build Process Automation, you can automate your process to take different conditional routes without writing a single line of code. Now we will show you how to do that. You will use process conditions to get rid of unnecessary approvals by routing the process for auto-approval, or for a one-step-approval flow, based on the sales order criteria. For example, a sales order less than a certain value such as 50,000, does not need approval, and all other sales orders will undergo one-level approval.

Creating and Configuring a Process Condition

Now that you have designed a process with forms and automation, let's define which process flow should run based on the If/Else conditions that decide which process flow is executed and whether there will be an auto-approval or a one-step approval route.

Define Different Process Flows for Each Conditional Criterion

Releasing, Deploying and Running the Process with Conditions

Finally, run the process to check the recent changes. As explained in previous lessons, you must first release and then deploy the business process project in order to run the process.

Save progress to your learning plan by logging in or creating an account

Login or Register