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.
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.