Administering : Managing business rules and expressions : Business rules definitions : TrafficLight business rule
  
TrafficLight business rule
The TrafficLight business rule shows a traffic light in red, green, yellow, or black depending on the value of an Integer or Float attribute.
Notes
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
 
Parameter
Description
'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 equal to, or higher than the 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.
Go up to
Business rules definitions