Condition

Conditions let you set an expression that must be true for an action or group of actions can run. They are snippets of VBScript code that allow you to access variables and test their content.

In this expression Hour(now) retrives the hour value from the DateTime variable now and checks if the result is greater than or equal to 12:

Condition Expression

You can also use variables such as DocumentName or UserName for a condition. You can create multiple or even nested conditions, it is only the child actions of the Condition that are conditional, anything at the same or higher level of nesting runs as normal.

Condition Tree

Conditions can be placed under a Failover action to produce an equivilant to a switch statement.

Condition Switch