Add branches
A conditional function returns one of multiple possible results generated by expressions and based on IF/ELSE/ELSEIF logic. A conditional function allows for multiple branches and nesting.
To add branches to a conditional statement
- Open the function in the Function Builder.
- Right-click an item in the conditional statement menu tree.
- Select the rootConditionitem to add anELSEIFstatement to the root level of the statement. TheFunction Builderadds anElse if this expression is true:and aReturn this value:field.TIP:Adding ELSEIF statements to the conditional statement causes it to function like a CASE statement.
- Select an IF or an ELSEIF item to nest an IF statement within it. TheFunction Builderadds anIf this expression is true:, aReturn this result:, and anElse:field.TIP:There is no limit to the number of branches or the number of nested levels in a conditional statement.
Provide Feedback