We are currently doing distribution lists in FSQL. We have expressions set up similar to this:
How is this going to be done in Ignition? I cannot find a distribution list customizer or place to enter your pass expressions. Is this something that is on a list to be done? I get parsing errors when trying to run my old list on Ignition I think due to {[SEVERITY]} and {[GROUP_NAME]}. Let me know. Short term can you give an explanation of what can be referenced and how in the expression box?
The editor for distribution groups is on the TODO list. Right now it’s main goal is backwards compatibility.
All of the variables from FSQL should be available, but there’s a bit of a problem in that the Ignition alert system doesn’t have exactly the same alert structure. That is, there’s no longer a “group name”, “item name”, and a few others. Instead, there’s an “item path”, and a user settable “display path”. So, while all of the variables are available, they may not work exactly like in FSQL.
Due to the different parsing engines, there are some small variations that we need to work out. You already noticed one in a different thread with the difference in item reference parsing, in this case it is likely just case sensitivity- the “like” keyword apparently needs to be lower case in Ignition.
Here’s a list of the currently available variables:
TIME
VALUE
STATE_NAME
ALARM_TYPE
ITEM_PATH
SEVERITY
DISPLAY_PATH
NOTES
SYSTEM
These variables are still recognized, but return different values than in FSQL:
DATE - returns full date/time
ITEM_UNITS - not available, returns nothing.
ITEM_NAME - returns item path.
GROUP_NAME - returns item path.
FOLDER_PATH - returns item path.
PREVIOUS_VALUE - not available, returns nothing.