Special values are used within rules to reference values outside the issue, or to set specific values to aid in manipulating the issue.
EMAIL_IGNORE_GROUP – This allows you to check or uncheck the checkbox that sends notification with the EMAIL_CUSTOMER field on the add and the edit screens. Normally this is the Guest or Customer Role. Set to a value of 'Y' to set the value to checked, or to a value of 'N' to set a value of unchecked. Use a preupdate rule such as:
if (SCREEN_NAME=’ADD’ && STATUS=’Fixed’)
EMAIL_IGNORE_GROUP = ’Y’;
}
Valid values are ’Y’ and ’N’. Note that the value may be in upper or lower case.
GENERATE_EMAIL – This allows you to check or uncheck the checkbox that governs notification on the add and the edit screens. Use a preupdate rule such as:
if (SCREEN_NAME=’ADD’ && CATEGORY=’Undetermined’)
GENERATE_EMAIL = ’N’;
}
Valid values are ’Y’ and ’N’. Note that the value may be in upper or lower case.
SCREEN_NAME – This has four possible values, ADD, EDIT, ADD_CONFIRMATION or MASS_UPDATE. This allows you to define a rule that will only be executed on the Add, Edit, Add Confirmation or mass update screens. For example:
if (SCREEN_NAME=’ADD’ && STATUS=’OPEN’) will execute the rule, only if you are adding an issue and the status is OPEN.
SYSDATE – This provides a value of the current timestamp.
SYSDAY – This provides the Date Value of the current time.
USER – This references the current user.
USER_ROLE – This references or sets the current user role.
Setting the user role is only allowed under specific conditions: