Group Status

Top  Previous  Next

Any group may optionally have a status that is dynamically calculated as a function of group members' state. The status is indicated as group's node color in the System Tree.

note_example-wt

For example, a group of Devices is red if at least one device has error, yellow if at least one device is offline, and green otherwise.

Group Status Calculation

The group status is calculated according to the following rules.

1.Every time when a new member is added or existing member's Member Status Variable is changed, the Member Status Expression is calculated for this member, resulting to member status string.
2.All members status strings are then looked up in the Status Table, from top to bottom.
3.The group status is set according to the highest Status Table record those Member Status Expression Result match at least one member's status string.

note_example-wt

Let's assume that we have a group with five members. Every member's expression is evaluated into a string value that is normally 100, 200, 300, 400 or 500 (these are strings constants, not numbers). Here is our Status Table:

Member Status Expression Result

Group Status (Color)

100

Green

200

Yellow

300

Red

400

Magenta

500

Blue

The below table illustrates what status will the group get in accordance with different member status string combinations and the above table:

Member Status Strings

Group Status (Color)

100, 200, 300, 400, 500

Green

500, 400, 300, 200, 100

Green

300, 300, 300, 400, 500

Red

500, 500, 500, 500, 500

Blue

500, 500, 200, 500, 500

Yellow

200, 200, 500, 200, 200

Yellow

100, 200, 300, 400, 123

Undefined

See Group Status configuration article for more information.