Skip to content
Schedule operations

Allowed expressions in schedule operations

This page describes Revolution release 4.0.0.

On this page
  1. Supported operators
  2. Choosing an expression
  3. Unsupported syntax
Revo Ready

Hi, I'm Revo

Ask me anything about Revolution. My answers link the pages they come from.

Some schedule-operation parameters accept an expression rather than a fixed value. For example, If..Else and While.. use a condition that returns true or false. Set Parameter accepts an expression for its value.

Only equality (==, !=), comparison (>, <, >=, <=), and numeric arithmetic are supported in schedule-operation expressions. An expression field is not a general-purpose programming language.

Expression typeSupported operatorsExample
Equality== (equal), != (not equal)3 == 3 returns true; 3 != 3 returns false.
Comparison> (greater than), < (less than), >= (greater than or equal), <= (less than or equal)5 >= 3 returns true. Both sides must be whole numbers: a decimal such as 2.5 fails the step.
Numeric arithmetic+ (add), - (subtract), * (multiply), / (divide), % (remainder)2 + 3 returns 5; 7 % 3 returns 1.

Use an expression whose result matches the parameter. A condition needs a true/false result, while a loop count needs a whole number. Arithmetic operands must be numeric; + does not join text.

Logical operators such as AND (&&), OR (||) and NOT (!), function calls, and other scripting syntax are not supported in schedule-operation expressions. For more complex logic, use a Python script rather than entering code into an expression field.

These rules apply to schedule-operation expressions, not to Python script code or fields that specifically ask for a regular expression.