TrafficLight business rule

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

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 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.

Feedback