Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
XavierP
Advisor
Advisor
This blog is the fourth part of this series of blogs: link to Introduction

 

Objective


Request a requirement approval. The end-user receives a notification in his inbox (SAP Build Process Automation) and can choose to accept or reject the new requirement. The requirement satus (SAP Cloud ALM) is updated accordingly to the user decision.

All integration scenarios of SAP Cloud ALM are based on the public APIs listed in the SAP Business Accelerator Hub.

 

An integration example


A SAP Partner informed a customer about a new content (see Part 3: Use a mobile application (SAP Build Apps, SAP Cloud ALM) to trigger a requirement approval.) by triggering a workflow. The customer project manager is notified in his inbox about the new requirement to approve. Using a form he can accept or reject this requirement. The status is updated in the SAP Cloud ALM customer tenant.

 

The involved components



  • Approve Requirements with Workflow Engine

    • SAP Build Process Automation

    • SAP Cloud ALM





 

SAP Build Process Automation


SAP Build Process Automation combines workflow management, RPA functionality, decision management, process visibility, and embedded AI capabilities into one intuitive low-code experience. Read the solution in detail.

Procedure Overview



  • Create a SAP Build Process Automation action to update the requirement in SAP Cloud ALM using Rest API integration.

  • Create a SAP Build Process Automation business process to receive the triggering call from the mobile application (see blog 3) and organise the process flow.


Important Information


The goal of this blog is not to give you a step by step guide on how to create a SAP Build Process Automation workflow. You can follow this learning page for that.

The goal of this blog is to highlight the integration capabilities.

Create a SAP Build Process Automation action


In the SAP Build lobby, create a new SAP Build Process Automation action.


Choose SAP Business Accelerator Hub as source, then SAP Cloud ALM tasks:


Select the patch action:


Adjust the parameters and body like this:






    • id is the requirement ID.

    • X-Calm-Notification is set to true to allow the task/requirement update

    • approvalState is set to READY_4_APPR




Create a SAP Build Process Automation business process


In the SAP Build lobby, create a new SAP Build Process Automation automated process - business process.

This is how the workflow looks like:


The trigger is the integration point with the SAP Build App (see Part 3: Use a mobile application (SAP Build Apps, SAP Cloud ALM) to trigger a requirement approval.) This is the way te receive the parameters (requirement ID and title).


Then a form is used to show the requirements to the end-user and ask for its approval.


Input parameter of the form



Form edition


If the requirement is approved the previously created action is ran with the requirement ID as input parameter. The requirement is updated on the SAP Cloud ALM Customer tenant.



Results


From an end-user point of view, the form is sent in the user inbox:


The project manager can easily approve or reject the new requirement without accessing SAP Cloud ALM. The status is updated in SAP Cloud ALM and triggers other things which will be detailed in the next part.

 

Thanks for reading.

 

SAP Cloud ALM API & Integration blogs: