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 ↗
Logout

5 - Add Approval Flow to Process

Fill in your empty process with conditions, approval workflow and other steps, as part of the SAP Build CodeJam.

Overview

🎓 beginner 30 min. SAP BuildBeginnerSAP Build AppsSAP Build Process Automation

You will learn

  • How to create a data type
  • How to add an approval form
  • How to add a notification form
  • How to use a script task
  • How to use the Inbox to view your tasks
Daniel Wroblewski D Daniel Wroblewski September 28, 2025
Created by December 12, 2024
Contributors

Prerequisites

Prerequisites

Steps

Step 1 Create data type

You will want to send a list of items to the process, each with a product, price, quantity and total.

To do this, you can create a data type with all those fields, and specify that you want a list of them.

  1. Go back to the SAP Build lobby, and open your project.

    At the top of your project, make sure Editable version is selected.

    Editable project
    Editable project

  2. On the Overview page, click Create and select Data Type.

    Create data type
    Create data type

    Select data type
    Select data type

    For the name of the data type, enter Order Item Type, and then click Create.

  3. In the Order Item Type window, click New Field.

    In the General Information area on the right, call the field product. Keep the type as String.

    First field
    First field

  4. Repeat by clicking New Field for each of the following fields, and entering the name and type:

    NameType
    quantityNumber
    priceNumber
    totalNumber

    If the Type of the fields is not reflected correctly in the table, select the correct Type again from the dropdown.

    With all the fields, the screen should look like this (make sure the Type is correct):

    Complete data type
    Complete data type

    Click Save (upper right).

Step 2 Update inputs
+
Step 3 Add a condition step
+
Step 4 Add script to get total items
+
Step 5 Add an approval form
+
Step 6 Add notification form
+
Step 7 Set the bindings
+
Step 8 Release and Deploy
+
Step 9 Test the process
+
Step 10 Monitor the Process
+
Step 11 Further study
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 11
1. Create data type 2. Update inputs 3. Add a condition step 4. Add script to get total items 5. Add an approval form 6. Add notification form 7. Set the bindings 8. Release and Deploy 9. Test the process 10. Monitor the Process 11. Further study

Learn more →