Anonymously Inject Data Into Flow

Anonymously Inject Data Into Flow

Comments

  • Instead of having to supply a defined data type as an input I would like the ability for this to be dynamic. For example

    Flow A requires a list of Objects. ( Accepts Dynamically loaded data)

    Flow B Has a form. ( Outputs Data to be Dynamically loaded in flow A data)

    Flow C has an API call. ( Outputs Data to be Dynamically loaded in flow A data)

    ALL are independent flows

    The idea is to have Flow A be able to accept any type of data and run appropriately. In java, this would be done with the Use of the “Object” class but Im unsure in Decisions.

  • The inputs of a flow can be toggled to allow null values under Flow Input Data > Show Editor > Data Definition > Can Be Null (pictured). Using this property, you can then declare many types of inputs for a flow, set them all to Can Be Null, and the flow itself can then check to see which values are null and execute steps or sub-flows depending on which inputs have values.

    From there, you can use logic to decide what happens next in the flow depending on which values are present. Ive attached a sample project with a few flows having multiple types in their inputs, each with Can Be Null checked, to demonstrate a few ways to configure a flow like this.

    [img]att1[/img]

Sign In or Register to comment.