Legacy Dev Forum Posts

 View Only

Sign Up

/flows/executions inputDate

  • 1.  /flows/executions inputDate

    Posted 06-05-2025 18:22

    Thomas_Karlshoj | 2022-05-10 09:51:14 UTC | #1

    Hi

    We are looking to use the workflows in architect and e want some inputdata to the workflow. I noticed "inputData" in the API-explorer. It reads that valid values are defined by a flow's input JSON schema but i don't know if that exists or where to change it. If it can't be changed are there some predefined values that we could utilize and then use it in the architect?

    /Thomas


    Jerome.Saint-Marc | 2022-05-10 13:20:56 UTC | #2

    Hello,

    The inputData, in POST /api/v2/flows/executions, is indeed meant to be used as (dynamic) input parameters to the workflow. The inputData (and the flow's input schema) corresponds to the variables you will define as "Input to flow" in your workflow (Resources - Data - Click to edit variable - select "Input to flow" under Variable Options).

    Let's say you have defined 2 variables as "Input to flow" (string type): Flow.MyFirstInput and Flow.MySecondInput. You can send:

    { "flowId": "xxxxxxxxxxxxxxxxxxx", "inputData": { "Flow.MyFirstInput": "1234", "Flow.MySecondInput": "abcd", } }

    If you define output variables in your workflow ("Output from flow" - e.g. Flow.MyFirstOutput), their values will be provided in outputData of the GET /api/v2/flows/executions/{flowExecutionId} response.

    Regards,


    Thomas_Karlshoj | 2022-05-10 18:01:03 UTC | #3

    Awesome. That's what i missed! Thank you:)


    system | 2022-06-10 18:01:55 UTC | #4

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 14665