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 ↗ Provide Feedback ↗
Logout
โคข Open full site

Check Status of Process from SAP Build App

After triggering a process, you can check the status of that process using the Retrieve Instances flow function.

Overview

🎓 beginner 20 min. SAP BuildBeginnerSAP Business Technology PlatformSAP Build Apps Enterprise Edition

You will learn

  • โœ”How to retrieve the instances for a process
  • โœ”How to check the status for a specific instance
Daniel Wroblewski D Daniel Wroblewski April 22, 2025
Created by December 28, 2022
Contributors

Prerequisites

Prerequisites

Steps

Intro

In addition to triggering a workflow, you can get the status of a workflow, the tasks within a workflow, and a whole lot more.

In this tutorial, we will create a new page to display the processes we have triggered (including its ID, status and time it was triggered), and let the user click a button for each to check if its status was updated.

We will use the process flow functions that come with SAP Build Apps, making this task quite easy. You can also use a wide range of APIs to interact with processes, and these are described in the SAP Business Accelerator Hub. Select the API you are interested in, and then click View the API Reference.

Step 1 Create page to display process instances
โ€”

You will create a separate page to display the process instances, including each one’s ID, time it was triggered, and its status.

  1. In the top-left of your project, open the page dropdown and click Add New Page.

    Open page area
    Open page area

    For Name, enter Process Status.

    Click OK.

    Create page
    Create page

  2. Add a container into the page.

    Add container
    Add container

    Right-click the container, and select Copy.

    Copy container
    Copy container

    Right-click the container, and select Paste.

    Copy container
    Copy container

    This will create nested containers.

    Nested container
    Nested container

  3. Copy the following text:

    Container
    H4sIAAAAAAAACt1ZbW/bOBL+Kwb3DtgAolcSKYkUsB+8TnJrbJrkNukVRV0YfBnZQmVJkOg0uaL//UDLSpzEybKtvR/O+WDJEjkzzzzPcMh8QeauBpQiVS3rqoTSTMrWiFIB8lBuYInSLw/P7E2uUYooEzQQWmMWqhhTSWLM4oxgBSJiPBacCoo8pPO2LsTdrBRLa2NclUbkJTQDgjy0+fEGGpMrUcxkdTsrxF21MshDopm31tpN3uayAJSaZgUekkJ9mjfVqtSTpZjb4eirh1pzZ1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otNGc8JFjxzLZFGcM8yigmIREx1xGju9qirpl8LpvvbSZdKmTbLU9PWfF6fh+JcIP0tgwnpzs1Z1bt4NdfB1P059vz88n5v6bIm6KfaBDzk2CKvL8adfX26vLk/PjkuBs3Ho/Hvu8wbjw6H5+c9cNOT31/PWyKfvL97vro6Ghb6JPTnydXs5N/v/0WeZtV213fB3f0NLofmHQr9qOnwf/AtA/QHL2OjXNdsmR6VpQmp8hDvZtPitFO8cNtLUr9br22PdE+P7T2m74sfct+qPuzLXX1uV23oLcoDQLfQ3copb6H/rtpbVOS3nuTOu451yXFh5DrmAx5EkZMRcjrt/1w03cCTZcbC3+urx8/XX9fbTfZ3+xJakRtsyGKwm43zvu9y2aOQfc4b8dVmeXzVSO2qokbHo7NRtfdZ1rxyB+GgvlUhnvGw8WTw+Ph2Gd3O/Ew0kJFQ0oSnnC2ZzxcPDk8Ho6nDWs8BMtIErBhmCQcCNm3Xhw8OTwejjvcNR4yCllE5DDmQZZQtWc8XDw5PB6Opy/dSQ0BEWfxUAlOJdk3Hi6e/BgeG2+NkH1E30uP/qTi3nI6uD8EcbTkuJDtsNQfoLoacqsAOwxtnzk6GnNcjnZF1e1/He040vbVoJyNOa4pLwXlDJ7jFuhFSnQBuaje0dLazTiSoHQ2lOCTQMd7Vr2LJwdXveM/dl5lE3EG39FaV3IDlcVcDyGKwSewZ/BdPPkB8G133+00RnW98Wy5KkxeF8LYrS/6+j8jA/omihsAAA==

    Right-click Container 2 – either on the canvas (it should still be selected) or in the tree view – and select Paste.

    Paste UI
    Paste UI

    You should now see the skeleton layout.

    New UI
    New UI

Step 2 Create page variable
+
Step 3 Retrieve statuses
+
Step 4 Add navigation
+
Step 5 Run app
+
Step 6 Create logic to retrieve status
+
Step 7 Run app
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 7
1. Create page to display process instances 2. Create page variable 3. Retrieve statuses 4. Add navigation 5. Run app 6. Create logic to retrieve status 7. Run app

Learn more →