Creating Conditional Statement

Conditional statements allow you to execute a part of the action logic to be contingent upon some condition validation. For example, you may want to write some logic based on the fact that "more options" link is available on the screen or based on user type that is logged in.

You can create a conditional statement from the Statement menu in the logic editor. accelQ also supports nested conditionals.

For a given 'if' condition, you can add 'else-if' or 'else' conditional branches from the statement level action tool bar for the 'if' statement. 'else' statement, if it exists, will be the last branch in a given conditional statement.

For each conditional branch (if/else-if/else), you can also place an "exit action" clause which instructs the runtime to end the current Action execution. In some instances, you may want to return from an Action based on certain condition being satisfied.