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

Introduction: Using Conditions to Control the Flow

Intrduction

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, which routes the business process based on certain criteria. These conditions apply an "If or Else rule" and the business process responds according to the rules defined in the condition settings of the process. So, if the expression has the definition of the 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’ll show you how to do that. You’ll 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, say 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 us 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