Create SAP Build App to Trigger Workflow
Beginner
25 min.
Trigger a workflow created in SAP Build Process Automation from an app created with SAP build Apps.
You will learn
- How to create a simple UI
- How to create a form
- How to stylize your UI
- How to trigger from your app a workflow in SAP Build Process Automation
Prerequisites
- You set up SAP Build App and entered the lobby.
- You set up SAP Process Automation, and created the process described in the tutorial group Create a Sales Order Process and Enable Triggering Via API.
- You know the
definitionId
for the process you created. - You have set up the destination to SAP Build Process Automation, as described in Create Destination to Trigger Process from any Service.
This tutorial shows you how to use SAP Build Apps to create and stylize a simple, one-page app that triggers an SAP Build Process Automation workflow.
Specifically, the app lets the user enter sales order details and then send these to a process for approval. (In a real-world scenario, the sales order would then be created in S/4HANA Cloud, but that is not part of our flow.)
Your app will look something like this:

Before You Begin: You will need:
- The name of the SAP BTP destination to your SAP Build Process Automation instance. The destination MUST be configured with the URL of the entire path of the SAP Build Process Automation Workflow Instances API.
For workshops, the destination will be created for you and the name will be provided to you..
- The
definitionId
for your specific workflow, which you can find within your trigger in SAP Build Process Automation project. You can get this by going to your triggers in the Deployed version of your project, and clicking View.Copy the payload to a text editor, and there you can copy just the definition ID.