Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
Showing results for 
Search instead for 
Did you mean: 
Active Contributor


SAP Build process automation has both workflow management and  intelligent robotic process automation capabilities. This blog post will mainly focus on workflow management part.

How to get Started?

Check New Learning Tutorial on SAP Process Automation to understand the basics and trial system setup.


From SAP Build Work Zone (Standard edition), an employee will raise a relocation request.


  1. The workflow will be triggered after form submission as below.

  2. It will get additional information from external System using ODATA API.

  3. It will then check the eligibility based on the below three conditions.

    • If employee's number of service years >= 1, then it will send to next step for approval.

    • If service year < 1, it will send the rejection notification to the employee.

    • If employee's new requested location and current location are same, then it will send back the form to the employee for rework.

  4. In approval step, the assigned processor can either accept or reject the request and the same notification form will be sent back to the employee for acknowledgement.


Solution Design:

Step 1:

The process will be triggered by a form. The form can be designed in Form editor. The deployed version of the process will have the form link and launchpad configuration parameters, which can be used to fill up the form using browser or configure as application in SAP Build workzone.


Step 2:

Create an action to get employee details based on employee ID. From API response, we will retrieve country, city, first name, last name and hire data. For this demo, I am simply using northwind  ODATA API.


Please note: All the data are fake data.

To create action, BTP destination is pre-requisite.


Go to Control tower -> Destinations -> Click 'New Destination'. All the destination with property sap.processautomation.enabled = true, will show up in the list -> Click 'Add'.

Using OData Destinations

Step 3:

Create Data Type for input and output parameters and add Decision rule.

Input DT:

Output DT:








          YEAR( TODAY() ) - YEAR( EmpDetails.HireDate )





















           >= 1



           = CONCAT( EmpDetails.CurrentCity ,  ', ' ,  EmpDetails.CurrentCountry )









          'Requested Location is same as current location.'






          CONCAT( EmpDetails.FirstName ,  ' ' ,  EmpDetails.LastName )



           < 1












          'Reapply after completing 1 year of service.'






          CONCAT( EmpDetails.FirstName ,  ' ' ,  EmpDetails.LastName )



           >= 1



           != CONCAT( EmpDetails.CurrentCity ,  ', ' ,  EmpDetails.CurrentCountry )















          CONCAT( EmpDetails.FirstName ,  ' ' ,  EmpDetails.LastName )



Also, Use custom variable to set status as 'Rejected'/ 'Accepted' in the notification for based on the decision taken. When it goes to approval step, and if the approval rejects the request, the variable value will be set to 'Rejected' .

Step 4:

If eligible = false, send auto rejection notification form to the employee.

If eligible = true but requested new location is same as current location, request form will be sent back to the employee for rework.

If eligible= true and requested new location is not same as current location, request form will be sent for approval.


Step 5:

If the form is rejected by approver, the custom variable named 'decision' will be set as 'Rejected' using decision rule.

Irrespective of approval decision, notification form will be sent to the employee for acknowledgement.

Release and Deploy:

Set the runtime variables and deploy.

Test Execution:

Approval Form:

Notification Form (Accepted):

Notification Form (Rejected):


To check the logs of process execution :

Go to Monitoring -> Process and Workflow Definitions -> Select the process and Show Instances.

Further Read:


Thank you for reading this blog post. Please feel free to share your feedback or thoughts in the comments section or ask any questions in the Q&A tag below.

QA Link


Priyanka Chakraborti
Labels in this area