Get list of step executions for a Flow Tracking ID
Comments
-
I am attempting to implement some exception handling where I can resume the flow at a prior valid step.
To do this I need a way to get a list of valid steps in that running flow.Is there a simple way for me to do this?
[i]-[/i]
[i]edited by Brendan@decisions.com on 12/11/2019[/i] -
Below are directions for how to get the list of all step executions for a flowTrackingID.
- Search for the report FlowStepReport and select manage > open containing folder. This should take you to system/designer/catalog/system defaults/event reports.
- Make a copy of FlowStep report.
- Move copied flow to designer folder
- edit copied flow and add stepID as data field
- Click on the datasource FlowTrackingID and change Runtime Behavior from "Get Values from other reports" to Runtime Editable
- Click the empty space in the report designer header in the datafields area to get at report configurations. Expand Report Access and Select Generate Step to Run Report. Provide this with a unique name. This will be the datatype of the report output.
- Save and close report and validate that datatypes compiled pop-up displays.
- Go to a flow and in flow steps go to integration > reporting and find copied report in its designer folder.
- Change Return Data option from Excel to Select Type. You should see the new datatype auto-populate in the output type field. You can now pass in a flowtrackingID and return a list of all of the steps that have executed in its scope. You can then pass this list into a dropdown on your exception handling form and display step name. Then have the selected items stepID be passed to the Go To Step, step and have the workflow proceed from that step.
[i]-[/i]
[i]edited by Brendan@decisions.com on 12/11/2019[/i]
Howdy, Stranger!
Categories
- 4.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions