The word WHEN is a reserved word that is not case-sensitive.
The condition consists of an expression that is evaluated as a Boolean value. If the expression evaluates to TRUE the condition is satisfied and the specified action is performed.
For example:
WHEN %name ~ '*.bin' SET type TO binary
The condition is the following expression:
%name ~ '*.bin'
This expression uses the built-in %name function, the built-in ~ shell-match operator and the literal string '*.bin'’.
INCLUDE_AUTO_RULES, a special mapping rule, includes mapping rules automatically generated from the active type definitions in the Rational® Synergy database.
In the factory default mapping rules, all of the conditions are expressions using built-in functions and operators, and all of the actions are built-in actions. However, for more advanced usage, the condition can consist of in-line Groovy.