The Early Return Data Operation verifies the validity of an expression and sets the Return Value if the validation is not passed. When the validation fails, all subsequent steps are skipped (exit the current flow) and the Return Value is return instead, in a Try/Catch fashion.
- Set a Data Flow return when validation of input data fails
- Set API call response when payload validation fails
This conditional expression allows the app builder to set conditions to evaluate whether the input is considered valid or not.
An expression (Text, number, JSON object, etc.) containing the value to return if the Validity Check expression returns
When using the Early Return data operation in App APIs, the return value if the validation fails is stored in a variable called
The result is a Boolean. If the returned value is
TRUE, all the subsequent steps are run, otherwise they are skipped and the Data Operation's Return Value is returned instead.