Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Help and Manual action and the Copy Files(s) action will only be run if the expression: %Build_Help% = True and or %MajorVersion% Andgt; > 2

The "Do the next thing" action will be run regardless of whether the If..Then action runs it's child actions or not.

Expression

If..Then

...

Expression

Image Removed Image Added

Each term is comprised of a left hand side, a right hand size, and a comparison operator. Use %VariableName% syntax to compare the values of variables. String, integer or floating point values can all be compared.

...

The available boolean operators are:

  • Equal =
  • Not Equal <>
  • Less Than <
  • Less Than or Equal <=
  • Greater Than >
  • Greater Than or Equal >=
  • Matches Regular Expression
  • Is Substring Of
  • Is Not Substring Of
  • Is Member of Comma-Separated List
  • Is Not Member of Comma-Separated List

Options

Append expression result to action log title

Example

The following If... Then action will execute its children when variable J is equal to 4, 5, 6, 7 or 9:

Image Removed

You can also use If..Then with the Else action, to provide an alternative set of actions to run. See the Else Action for details.

Image Removed Image Added

The "Append expression result to Action Log Title" will show the result (True or False) as part of the action's log title when it runs. The result is appended to the normal log title.

See also

If Prev Action Failed Action