Define outputs for your flow, enabling data to be returned from workflows
The Flow Output Block is a crucial component for defining the outputs of a flow. Each instance of this block represents an individual output, where the value passed into it becomes part of the overall flow output. When a flow is used as a subflow, each Flow Output Block transforms into an output port on the subflow block.
The value to be outputted from the flow. The data type should match the type specified in the Editor Settings.
The value that was passed into the block. The data type matches the type specified in the Editor Settings.
The unique identifier for the output. This ID is used when referencing the output and defines the output port name when used as a subflow.
Specifies the expected data type for the output. The input value will be coerced to this type if necessary.
The Flow Output Block will generate an error if the data type of the input value doesn’t match the specified Data Type in the Editor Settings.
Always ensure that the input value matches the specified Data Type to avoid runtime errors.
Can I have multiple Flow Output Blocks in a flow?
Yes, you can have multiple Flow Output Blocks in a flow. Each block represents an individual output of the flow. Ensure that each Flow Output Block has a unique ID.
What happens if the ID of a Flow Output Block is not unique?
If multiple Flow Output Blocks have the same ID, the flow’s output will contain the value of the last processed block with that ID.
Can I use the Flow Output Block to output complex data types?
Yes, the Flow Output Block can output any data type, including arrays and objects. Make sure to set the appropriate Data Type in the Editor Settings.
Define outputs for your flow, enabling data to be returned from workflows
The Flow Output Block is a crucial component for defining the outputs of a flow. Each instance of this block represents an individual output, where the value passed into it becomes part of the overall flow output. When a flow is used as a subflow, each Flow Output Block transforms into an output port on the subflow block.
The value to be outputted from the flow. The data type should match the type specified in the Editor Settings.
The value that was passed into the block. The data type matches the type specified in the Editor Settings.
The unique identifier for the output. This ID is used when referencing the output and defines the output port name when used as a subflow.
Specifies the expected data type for the output. The input value will be coerced to this type if necessary.
The Flow Output Block will generate an error if the data type of the input value doesn’t match the specified Data Type in the Editor Settings.
Always ensure that the input value matches the specified Data Type to avoid runtime errors.
Can I have multiple Flow Output Blocks in a flow?
Yes, you can have multiple Flow Output Blocks in a flow. Each block represents an individual output of the flow. Ensure that each Flow Output Block has a unique ID.
What happens if the ID of a Flow Output Block is not unique?
If multiple Flow Output Blocks have the same ID, the flow’s output will contain the value of the last processed block with that ID.
Can I use the Flow Output Block to output complex data types?
Yes, the Flow Output Block can output any data type, including arrays and objects. Make sure to set the appropriate Data Type in the Editor Settings.