IsChanged Function
IsChanged (field as Object) as Boolean
Category: | Logical |
Description: | Returns TRUE if the given field was updated in current session |
Supported Context: | BusinessRules |
Parameters: | |
field as Object | Represents a specific object field |
Returned value as Boolean | Returns a boolean value, where "TRUE" indicates that the field value of the "field" parameter has changed |
Example #1 |
To run a business rule each time an issue state is updated (from any value to any value), set the evalution criters to be: IsChanged($State) |
Example #2 |
To run a business rule that will automatically change the 'Issue State' from "Submitted" to "In Work" once it is assigned to a project, Use the "Update Field"action for the 'State' field and set the Evaluation Criteria to be: isChanged($PlannedFor) && Not(ISNULL($PlannedFor)) && ($State = 'Submitted2') |
Tips |
|
Note | to reference the Issue State picklist value "Submitted" use the string "Submitted2" |
Related Functions | |
Additional Links |