Hi everyone,
I am using system.db.runQuery in my calculated roster to build a roster to Alarm notification.
I have already added an associated data in my alarm.
Is there any way to pass that associated data into my query as I want to filter some of the users in my calculated roster.
You can access any of the alarm properties through the event object in a calculated roster. Properties are stored as a dictionary and can be accessed in the same way.
# properties can be accessed directly using the dictionary format
# event["propertyname"]
# get the alarm name
alarmName = event["name"]
# get an associated data property named "Machine Area"
associatedArea = event["Machine Area"]