If

Allows you to run a specific piece of code only if a specific condition is met.

Parameters#

NameType/ValueRequired
ExpressionExpressionYes

Expression: The condition that evaluates if the code must be executed or not.

Examples#

if.jpg

if payload.success is equal to true then the code within the element is executed, otherwise is skipped.

ifexists.jpg

if _1.intermediate exists then the code within the element is executed, otherwise is skipped. This is useful when the element is not always present.

Last updated on by James Tacker