Activating Live Process Content


After completing this lesson, you will be able to:

  • Activate Live Process Content from the SAP Build Process Automation Store

Activate Live Process Content

Business Scenario

A department within your company is responsible for approving capital expenditure requests. Whenever someone wants to trigger a new investment, for example, buying a new software product or building a new office building, they need to go through the capital expenditure approval process. Currently, this process is documented but mostly executed manually. Thus, a requester needs to know who to contact for the capital expenditure request. Then, the responsible approvers for the project need to be found depending on the investment type and amount. Once the approval is done, the involved parties need to be informed about its outcome. The whole process can take weeks and has many sources of error, such as responsible people not being available or related documents and mails being lost on their way from one person to the other. The responsible department asks you as (citizen) developer to implement an automated workflow/process that keeps track of all the involved steps, people, and documents. Before you start to create the process from scratch, you browse through the SAP Build Process Automation Store. Fortunately, an appropriate Live Process content is already available for use in the Store. It makes your life easier, as you only need to import the content and do some additional setup and configuration steps.



The following prerequisites are currently not available with the Free Tier offering. SAP is working on making the features available in the SAP Build Process Automation Free Tier offering.

  • You need a subscription for the SAP Workflow Management service in your account.
  • You need to have the WM_CF_SPACE_PROVIDER destination configured within your SAP Business Technology Platform subaccount. The destination enables you to import packages from the Store. Follow the procedure on the SAP Help Portal page, Configure SAP Workflow Management Destinations.
  • You need to have configured a destination BUSINESS_RULES within your SAP Business Technology Platform subaccount. The destination has to point to your SAP Business Rules service instance in order to enable technical communication from a process. Follow the procedure on the SAP Help Portal page, Configure SAP Workflow Management Destinations but use BUSINESS_RULES as the destination Name.

Exercise Options

You can use the instructions provided below and perform the steps in your SAP BTP account.

We strongly recommend to perform the steps in the live environment.

Task 1: Activate Live Process Content


  1. Browse for required live process content in the SAP Build Process Automation store.

    1. From the Application Development Lobby, open the Store.

    2. Filter the available projects by Project TypeLive Process.

    3. Filter for the term Capital Expenditure within the remaining projects.

    4. Select the entry for Capital Expenditure Approval Process.

    5. From the documents section, open the Capital Expenditure Approval Process – Setup guide document.

    6. Find out which services and which destinations have to be configured in order to set your subaccount up for the process content. If you are interested, also have a look at the remaining parts of the document.

    7. Go back into the store search results for Capital Expenditure.

    8. Look for the entry Sample Capital Expenditure Approval Process, and select the Add option. It might take a while until the content has been imported.

      Note: This Live Process is designed specifically for educational and sample scenarios. It does not require the usual setup steps in your subaccount, but you can directly import it and try it out.

  2. Open the imported live process content.

    1. Go back to the Lobby. In All Projects, you will see that the new Live Process has been added.

    2. Select the Sample Capital Expenditure Approval Process project.

    3. In a new tab, you will see the overview of all artifacts within the package. It contains a Process Template, two Decision artifacts, and a Visibility Scenario.

  3. Create a new process variant from the Process Template.

    1. In the Sample Capital Expenditure Approval Process row, select the + (Add) icon.

    2. In the New Process Variant dialog, enter Name, High Value Investment.

    3. Select the Sample Capital Expenditure Approval Process from the Process dropdown.

    4. Select Create.

    5. Expand the Sample Capital Expenditure Approval Process row, and select the newly created Process Variant.

    6. The no-code editor for Process Variant creation opens.

    7. From the Available Steps, drag the Approval step, and drop it below the Local Manager Approval step in the process editor so that it gets integrated into the process.

    8. Select the newly created step to see the Step Properties on the right.

    9. Enter CFO Approval as Name.

    10. Enter Second level of approval by the CFO as Description.

    11. Select the Details tab.

    12. Enter CFO as Role Name.

    13. Enter CFO as Approval Step.

    14. Select Save in the upper right of the screen.

    15. Select Activate in the upper right of the screen. A pop-up should tell you, that your Process Variant has been activated successfully.

    16. Close the High Value Investment Process Variant editor.

  4. Adjust the Business Rules template for your live process.

    1. Select the Determine All Approvers Decision artifact.

    2. Select Copy To Draft to copy the released Decision content into a draft project that can be adjusted. Note: When there is a Warning dialog, confirm by selecting Continue.

    3. In the Draft project, select the Auto Approval rule.

    4. Select Edit.

    5. The Auto Approval Text Rule defines when a Capital Expenditure request requires approval, and when it is automatically approved, based on the Total Cost of the investment.

    6. Modify the value in the "If" part of the Text Rule from 10000 to 20000.

    7. Select Save.

    8. Select the Determine Approvers rule.

    9. Enter Full Screen Mode of the Decision Table editor.

    10. Select Edit.

    11. The Determine Approvers Decision Table defines different responsible approvers, based on details given in the Capital Expenditure Request, like the Investment Type, the Country of the investment, the requesting Business Unit, and the corresponding Approval Step name in the process (which you have defined when creating the process variant).

    12. Mark the row that contains the Approval Step GroupHead, and remove it from the table.

    13. Enter your User ID and Email address in both rows, for LocalManager and CFO. Note that you need to provide the values in single quotes (‘’). In a real scenario, here, you would provide the User IDs and Email addresses of the users that should actually be responsible for the approval.

    14. Remove the values in the User Group column. These are only required, when you have User Groups that are being provided by your Identity Provider.

    15. Select Save.

    16. Exit Full Screen Mode of the Decision Table editor.

    17. Select Release Version.

    18. In the Release Version dialog, provide a meaningful Description, and select Release.

    19. The new version of the Decision project appears in the version list.

    20. Select Activate.

  5. Activate the process visibility scenario.

    1. Close the Determine All Approvers Decision editor.

    2. Select the Sample Capital Expenditure Approval Dashboard Visibility Scenario artifact.

    3. The Context shows all attributes from the process that are being exposed to the Visibility Scenario. Thus, they can be used to calculate new Attributes, and to create Performance Indicators. Note that there is a separate unit about this topic.

    4. Select Performance Indicators to have a look at the indicators that are included by default in this scenario.

    5. Select Save and Activate.

  6. Start the process to test the configurations.

    1. Close the Sample Capital Expenditure Approval Dashboard Visibility Scenario editor.

    2. Navigate to the Application Development Lobby.

    3. Select Monitor.

    4. In the Manage section, select tile Processes and Workflows.

    5. This app provides an overview of all your released and deployed workflows and processes. In the list, you should find your High Value Investment process variant. Select it.

    6. Select Start New Instance. This lets you start a new instance of the process by providing sample investment data in a JSON format.

    7. Replace the JSON with the following JSON:

      Use content from file ./assets/SampleCAPEXRequest.json.

    8. Replace the values of elements UserId and Email with your personal User Id and Email address, that you are using in your SAP Business Technology Platform account.

    9. Select Start New Instance and Close.

    10. Open the My Inbox application of your user.

    11. There should be a new approval task for the Capital Expenditure Request in your role as Local Manager.

    12. Add an Approval Comment of your choice, and select Approve.

    13. Refresh your inbox. There should be another approval task for the Capital Expenditure Request in your role as CFO.

    14. Select Approve. The process will end.

  7. Monitor your process.

    1. Open the Monitor tab within Application Development.

    2. Select the Process and Workflow Instances tile in the Monitor section.

    3. By default, this view only displays process and workflow instances that are in status Erroneous, Running, or Suspended. Select the Filtered By: menu.

    4. Select Status.

    5. Check the box next to Completed, and select OK.

    6. The list now also shows instances that are in status Completed.

    7. Find your completed process instance from the previous task, and examine its information. The Started By: and Started At: fields will let you know which one is the correct instance.

    8. Have a look at the Execution Log. It provides the overview of all steps and subflows that have been executed within the process run. You can dive deeper into the subflow instances, if you like.

  8. Monitor your Process Visibility Scenario Dashboard.

    1. In order to be able to monitor your process visibility dashboard, you need to set up access via SAP workzone standard edition. Check out the End User Access for SAP Build Process Automation unit to learn the required steps.


Congratulations, you have imported and activated your Live Process content package.

Log in to track your progress & complete quizzes