Getting Flow Ids

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

Sign In or Register to comment.