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

11 - Expand Process to Add Rework Flow

Use a custom variable and Go-To Step to expand your workflow so the approver can ask the submitter to rework it, as part of the SAP Build CodeJam.

Overview

🎓 beginner 10 min. SAP BuildBeginnerSAP Build AppsSAP Build Process Automation

You will learn

  • โœ”How to define and set custom variables
  • โœ”How to use the Go-To Step
  • โœ”How to modify labels on Approve and Reject buttons of an approval form.
  • โœ”How to create a rework flow
Daniel Wroblewski D Daniel Wroblewski December 4, 2025
Created by January 2, 2025
Contributors

Prerequisites

Prerequisites

Steps

Intro

In order for you to learn about custom variables and Go-To steps, you will expand slightly the process you created to include a rework flow โ€“ the ability for approver to reject a request but allow the submitter to modify it.

Here is the current process, annotated with what you will do.

Overview
Overview

Here’s the flow:

  • The approver can approve or reject the request, as before. But the approver can also reject the request but indicate that they will allow the submitter to modify the request.
  • The submitter will get a form to modify the request. In this case, the submitter can now add an explanation for the request.
  • The submitter can choose to provide an explanation and return the form to the approver, or can simply cancel the request.
  • The approver, if they get a reworked form, can again choose to approve, reject, or reject and return the form to the submitter.
Step 1 Add custom variable
โ€”

The approver has a field in the approval form to add Additional Information when sending the request to the submitter for rework.

The problem is you want this field to be sent to the submitter, but also returned back to the approval form so the approver knows what they asked for from the submitter. The problem is that the approval form cannot bind a field to one of its own fields.

To solve this, you will create a custom variable.

  1. Open the process, and open the side panel.

    Make sure you are in the Editable version of the process.

  2. Click Variables, and then open Custom Variables.

    Custom variables
    Custom variables

  3. Next to Custom Variables, click Configure.

  4. Click Add Variable, and enter Additional Information for the Name. The identifier is filled in automatically, and leave the type.

    New variable
    New variable

    Click Apply.

  5. Close the side panel.

Step 2 Modify approval form
+
Step 3 Add condition
+
Step 4 Add rework form
+
Step 5 Add go-to step
+
Step 6 Release and deploy
+
Step 7 Test 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. Add custom variable 2. Modify approval form 3. Add condition 4. Add rework form 5. Add go-to step 6. Release and deploy 7. Test app

Learn more →