Special Values
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โ) { Valid values are โYโ and โNโ. Note that the value may be in upper or lower case. |
EXT_SITE_URL |
This special value references and returns the value of the behavior setting named EXT_SITE_URL. |
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โ) { Valid values are โYโ and โNโ. Note that the value may be in upper or lower case. |
SCREEN_LOAD |
There are several occasions when
There are times when you want different rules processing to happen, especially if the Update & Continue button is clicked from an edit screen. The
or
|
SCREEN_NAME |
This has two possible values, ADD or EDIT. This allows you to define a rule that will only be executed on the Add or Edit 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. |
SITE_URL |
This special value references and returns the value of the behavior setting named SITE_URL. |
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:
|