The TrafficLight business rule displays a traffic light
in red, green, yellow, or black depending on the value of an Integer
or Float attribute.
Note: - When baselined, the attribute showing a traffic light icon will
be replaced with text. For example, if the traffic light icon is green,
upon baseline activation, the icon will be replaced with text value
of Green.
- The TrafficLight business rule cannot be used in the Prefix attribute.
- The TrafficLight business rule does not log history.
Prerequisites
- An Integer or Float attribute
- A business rule container attribute, which must be a Text attribute
Format
In the business rule container attribute,
enter the business rule in the following format:
=TrafficLight('Attribute Name',"Low Threshold Value","High Threshold Value","Red Popup Text","Yellow Popup Text","Green Popup Text")
Parameters
'Attribute Name' |
The name of the Integer or Float attribute whose value is evaluated |
"Low Threshold Value" |
If values are lower than this parameter, the traffic light
is green. |
"High Threshold Value" |
If values are higher than parameter, the traffic light is red. |
"Red Popup Text" |
If the traffic light is red, this text and a value are displayed. |
"Yellow Popup Text" |
If the traffic light is yellow, this text and a value are displayed. |
"Green Popup Text" |
If the traffic light is green, this text and a value are displayed. |