SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Create a Process Condition

Create a process condition to route the process based on business criteria

Overview

🎓 beginner 10 min. SAP Build Process AutomationBeginnerSAP Business Technology PlatformFree Tier

You will learn

  • โœ”How to create and configure a process condition
  • โœ”How to define different process flows for each conditional criteria

Prerequisites

Prerequisites

Steps

Intro

In this unit, you will learn how to use process condition in a business process to get rid of unnecessary approvals when the process is routed for auto-approval or one-step-approval flow based on the sales order criteria.

A process condition routes the business process based on certain criteria. These conditions apply an If or Else rule to the process content and respond according to the rules defined as settings in the process builder.

Step 1 Create process condition
โ€”

Once the process with forms is designed, define which process flow should run based on if/else condition criteria.

  1. To add a condition to a process open the Process Builder. Choose + below the Trigger.

    Process Condition
    Process Condition

  2. Choose Controls and Events.

    Process Condition
    Process Condition

  3. Choose Condition.

    Process Condition
    Process Condition

  4. To configure the condition, choose Open Condition Editor.

    Process Condition
    Process Condition

    Process content will contain a list of attributes that have been defined in previous skills. For example: in the screenshot below, you can see attributes from the trigger form. You will use this process content to configure different skills during business process modelling.

  5. Edit your branch condition:

    • Set Order Amount from the process content
    • Select is less than
    • Enter 100000 as the value

    Process Condition
    Process Condition

    You have configured your if branch to: if Order Amount is less than 100000.

  6. Similarly, add one more condition. Select Add Group.

    Add Groupe
    Add Groupe

  7. In the group section select Any to make it OR conditional group. Select conditions:

    ItemConditionValue
    Shipping Countryis equal toIndia
    Shipping Countryis equal toGermany
  8. Choose Apply to add the condition to the business process.

    You can expand the Summary section to see how the process conditions are designed

    Process Condition
    Process Condition

  9. Both If and Default link branches are connected to the Approval Form.

    Process Condition
    Process Condition

    With this process condition, only the sales order above a specific amount will be sent for approval and the rest will be auto-approved.

    You have to add a notification form in the If connection to notify the requester of the auto-approval and terminate the process.

  10. To create the new form, choose + below the If.

    Process Condition
    Process Condition

  11. Choose Form.

    Process Condition
    Process Condition

  12. Choose Blank form.

    Process Condition
    Process Condition

  13. In the Create Form window:

    • Enter the Name: Auto Approval Notification
    • Enter a Description: Notification form to inform auto approval of the sales order
    • Choose Create

    Process Condition
    Process Condition

  14. Select Open Editor of the form.

    Process Condition
    Process Condition

  15. Design the notification form, the same way as in the previous chapter, to send another notification to the requester about auto-approval. Add Layout fields:

    Form FieldsField Settings with Label
    Headline 1Automatic Order Confirmation
    ParagraphYour order has been received and we will send you the details as soon as the order is shipped. You can find the details of your order below, please review and verify your request:
    ParagraphYour Sales Order Details:

    Process Condition
    Process Condition

  16. For all below Input Fields, enter the labels and select the Read Only checkbox.

    Form FieldsField Settings with Label
    TextOrder Number
    NumberOrder Amount
    DateExpected Delivery Date
  17. Add Layout field:

    Form FieldsField Settings with Label
    ParagraphPlease press the SUBMIT button to acknowledge the order status.
  18. Save your work.

    Process Condition
    Process Condition

Step 2 Configure auto-approval form
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 2
1. Create process condition 2. Configure auto-approval form

Learn more →