Conditionally executes a group of actions, depending on the value of a logical expression. If the expression evaluates to TRUE, steps following 'If' and preceding 'Else' or 'End If' (whichever occurs first) are executed. Otherwise, it executes the actions follow the next 'Else' or 'End If'.
The 'If Expression' is one of the most useful actions. It enables you to evaluate a sequence of statements if a condition is true and evaluate a different sequence of statements if it is not true.