flow
(required): The incoming flow that will be routed based on the condition.condition
(required): A boolean value that determines which output the flow will be routed to. Default value is false
.true
: The flow will be routed to this output if the condition
input is true
.false
: The flow will be routed to this output if the condition
input is false
.flow
input of the Branch node.condition
input. This can come from a variable, an expression, or the output of another node.true
output to the node(s) you want to execute when the condition is true.false
output to the node(s) you want to execute when the condition is false.condition
input at runtime.condition
input of a Branch node.true
output to a Log node with the message “The list is empty”.false
output to a “For Each” node to iterate over the list and perform some processing.true
and false
outputs to make your spell graph easier to read and understand.true
and false
outputs. If you leave one unconnected, that branch will terminate and may lead to unexpected behavior.condition
input. Make sure the condition
is always a boolean to avoid type mismatch errors.