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

Use List as an Input/Output for Decision Artifact in SAP Build Process Automation

Use a list as an input to your decision artifact, process the data and extract the details to a table in a form

Overview

🎓 intermediate 30 min. SAP Build Process AutomationIntermediateSAP Business Technology PlatformFree Tier

You will learn

  • โœ”How to use a list as an input/output to your decision.
  • โœ”How to use reusable text rules.
  • โœ”How to bind list in decision to table in form.
Djamai Hania D Djamai Hania April 3, 2024
Created by July 27, 2023
Contributors

Prerequisites

Prerequisites

  • Either complete the tutorial Create Tables in the Form OR
    • Retrieve the sample project Sales Order Management (MI05) from the store
    • Setup the desktop agent to run automation as explained in this tutorial.
    • Download the Orders.xlsx in your local machine.

Steps

Intro

In this tutorial, you will automate the process where the sales executive is notified about the erroneous or error-free orders through a task in the inbox of SAP Build Process Automation.

The process is designed to have the following artifacts:

  • A form where the sales executive would provide the path of sales order excel maintained in his system.
  • Automation to read the sales order details.
  • Decision artifact to process the details of a list of orders extracted from excel. Based on the rules created in the decision, it would determine whether the order details are error-prone or error-free.
  • Notification form to the sales executive which displays the erroneous or error-free sales orders in a table format.

The process looks as below:

decision
decision


Step 1 Create a new process
โ€”

After completing the prerequisites, you will create a new process.

  1. Navigate to the Overview tab, from the editable version of your project, click the Create dropdown and choose Process.

    decision
    decision

  2. In the Create Process dialog box, do the following:

    • Enter a Process Name such as Order Processing Error Table
    • Choose Create

    decision
    decision

    Your new process opens in the process builder. You will now create a trigger form that will start the process.

  3. Choose Add a Trigger.

    decision
    decision

  4. Select Submit a Form.

    decision
    decision

  5. Choose Blank Form.

    decision
    decision

  6. In the Create Form dialog box, do the following:

    • Enter a Form Name such as Order File Path Form
    • Choose Create

    decision
    decision

  7. Choose the three dots and select Open Editor.

    decision
    decision

  8. Now, you will edit the form by using the available layout and input field options. Start by dragging and dropping the form layout fields, then enter the given names and field settings as shown in the example below:

    Form FieldsField Settings with Label
    Headline 1Order File Path Form
    ParagraphPlease provide the full file path for the Excel file and submit.
    TextFile Path
  9. For the input label Text select the Required checkbox, and Save.

    decision
    decision

Step 2 Create a new automation
+
Step 3 Create data types
+
Step 4 Update the Order Validity Check decision
+
Step 5 Create a new decision
+
Step 6 Configure input/output of decision
+
Step 7 Configure variables of decision
+
Step 8 Configure text rules of decision
+
Step 9 Configure main rule of decision
+
Step 10 Configure decision in process builder
+
Step 11 Create order error table form
+
Step 12 Release and deploy
+
Step 13 Test the process
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 13
1. Create a new process 2. Create a new automation 3. Create data types 4. Update the Order Validity Check decision 5. Create a new decision 6. Configure input/output of decision 7. Configure variables of decision 8. Configure text rules of decision 9. Configure main rule of decision 10. Configure decision in process builder 11. Create order error table form 12. Release and deploy 13. Test the process

Learn more →