Getting Flow Ids
Comments
-
Im looking for a way to get the flow IDs for every flow a user has that they havent run yet.
Essentially, Im logged in as the default admin@decisions.com and Ive created a few flows. As is my understanding, users can create a flow and allow that particular flow to be initiated by other users. Using a REST endpoint, I would like to be able to determine what flows a user has access to initiate. I want users to be able to initiate a flow using a GET request which I can do, but these flow IDs are hardcoded into my codebase and Id like to be able to get all flows available to a user using their User ID or Session ID if possible.
-
We are able to fetch a list of flow ids through the system, however you will need to engage in an organizational scheme and apply permissions accordingly.
This will ensure that only main flow ids are returned without any subflows (which are flows not intended to be initiated by a user).
Please see sample below to make a basic flow that fetches a list of flow ids based on the folder its in:
1) Create a flow.
2) Add a flow input for Folder Id to Check" on the start step. This can be a string.
3) Add an output for a list of strings called "Flow ids" on the end step.
4) In the flow
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