If ... then ... else

The If ... then ... else action tests a condition and control your application's action flow.
You can set a condition to be evaluated computing a custom JavaScript expression. Check the Arguments section for more details on how evaluating JavaScript expressions works.
The example below shows the message Condition is true when the expression $.isValid evaluates to true and Condition is false when it evaluates to false.