You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This action uses a boolean expression to determine if its child actions should run or not.

The Help and Manual action and the Copy Files(s) action will only be run if the expression: %Build_Help% = True and %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.

If..Then Properties Dialog

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.

Each expression can have an unlimited number of terms. Click on the "Add Term" button to add a new term. Terms can be joined together with boolean "And" or "Or" directives.

The available boolean operators are:

Example

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

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.

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

  • No labels