I have two standalone params "Contact 1 Name" and "Contact 1 State".
"Contact 1 Name" says "Front Door" and "Contact 1 State" is a discreet of enabled or disabled.
I want to set an alarm on "Contact 1 State" when it is disabled. However, I want the alarm name to use the "Contact 1 Name" value and appear in the console as "Front Door State" instead of just "Contact 1 State". Is this possible and how can I go about it?
Thanks!
Hi Joshua,
There are a few ways you can enrich the alarm with contextual information. In this case, I think the connector could be updated to show the relation between Contact Name and Contact State.
In practical terms, instead of displaying this information in stand-alone parameter, developers could build a Contacts table with the following columns:
- ID
- Name
- State
Using 'naming' property, the connector should define the IDX of each row of the table as [ID] - [Name].
Once that is done, you can monitor the State column, and the alarms will contain all the information you want:
- Parameter Name: State
- Parameter Value: Disabled
- Index: 1 - Front Door
As you can see, this solution requires a little bit of work to modify the connector, but once it is done setting the alarms and receiving all desired information is very straight forward.
If this is a Skyline driver, discuss the changes with your technical account manager.
Regards.