'Changes from any value to new value' operator
This table shows the syntax for rules that use the 'Changes from any value to new value' operator:
Syntax | [Attribute] [Operator] [New Value] [optional Condition] |
---|---|
Attribute | One of the document attributes selected for monitoring. |
Operator | Changes from any value to new value |
New Value | A constant value for the attribute that is monitored. |
Condition (optional) | A monitor condition from the list of predefined conditions. |
Evaluation if Operator = Changes from any value to new value | Evaluates to True if one of these conditions is met:
If a Condition is specified, only the document instances for which the Condition evaluates to True are considered for evaluation. There is no time limit for the evaluation of this monitor. In case of repeated values changes, the monitor creates an alert each time the Attribute value becomes the New Value. |
This table shows when alerts are generated:
Document instances | Alert is generated |
---|---|
First document instance contains the Attribute with the specified [New Value]. | Yes |
First document instance with Attribute value [New Value] directly followed by another document instance with Attribute value [New Value]. | Yes (see also Note below) |
First document instance with Attribute value [New Value] directly followed by another document instance with a different Attribute value. | Yes |
Document instance with a different Attribute value directly followed by another document instance with Attribute value [New Value]. | Yes |
Several document instances with a different Attribute value followed by a document instance with Attribute value [New Value]. | Yes |
Several document instances follow each other with the attribute value alternating any value and [New Value] at different moments in time. | Yes (alert is generated each time the Attribute values becomes [New Value]) |
Example - Changes from any value to new value
Sales orders can be "blocked" for various reasons during processing. If you do not want to monitor for a specific status transition, but only want to identify when a sales order has become blocked, you model a rule to check for a status change from any value to value "blocked".
This table shows the syntax of the rule:
Attribute | Status |
---|---|
Old Value | N/a |
Operator | Changes from any value to new value |
New Value | Blocked |
Within | N/a |