on 2025 Jan 30 7:35 PM
Issue:
I need to save the entire context of multiple instances in a single Page Variable, but I'm unsure how to implement a loop in the SAP Build app.
Scenario:
I have two Data Variables for the Workflow API: sapWorkflow and WorkflowInstance. The sapWorkflow variable fetches all "InProgress" workflows, while WorkflowInstance retrieves the context of a specific workflow selected by the user on the selection screen (fetched from sapWorkflow).
The filter conditions at the top of the page contain attributes that exist at the context level (i.e., the WorkflowInstance level). Therefore, I need to store the context of all fetched InProgress workflows into a single Page Variable to apply filters.
Could you please suggest how to retrieve Context of multiple instance in 1 page variable
Request clarification before answering.
As far as I know there is no flow function to retrieve contexts and there is no API to retrieve all contexts from a subset of process instances.
So you can create a logic flow like this:
FIrst, I create an integration to the destination you had to create for all the trigger/process flow functions.
Then you create the above logic flow:
Hope that helps, and hope I understood what you wanted.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.