Returns the first non-null value from a list of inputs, similar to SQL’s COALESCE function
COALESCE
function in SQL, returning the first non-null value from a list of inputs. In Odella, “null” includes values that appear as “Not Ran” in the UI - blocks that have been excluded from the run due to control flow processing.
This block is particularly useful when working with a set of blocks where only one will run, allowing you to return the output of the first block that actually executes. See the examples section for more information on using this with a Match Block.
1
, 2
, and 3
.A
, B
, and C
. Use a Text Block connected to the value
port of the If Blocks to set the value passed through for each case.Will an empty string be passed over?
How are inputs numbered?