Control Flow Brick Output
Last updated
Last updated
There are two behaviors to know about how output works in Control Flow bricks:
The Control Flow brick outputs the value of the final brick it ran that has an Output Key
The Output/Output Key of a brick within a Control Flow brick is only available to the subsequent bricks within the same branch/body. It is not available outside of the Control Flow brick or inside the other branches
If you need the Control Flow brick to output a brick other than the final brick, currently the best way to do so is using the jq - JSON Processor brick.
Provide the following inputs:
filter
.
data
@key
of the data you want the Control Flow brick to ouput