Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Mailer object sends unwanted message body

I am currently using the mailer object to send all active priority 5 alarms to a mailbox, which works just fine.
However I would like to send priority 8 alarms to a different mailbox.
I added a second mailer object and used $Alarm."Priority08.active" in the send field.
Message  is = $Alarm.message
When a priority 8 alarm occurs it appears in the correct mailbox with the correct message but the problem I am having is that any other active priority 5 alarms that are present at that time also get sent to this mailbox.
I assume this is because I have $Alarm.message in the message field.
Is there a better way of doing this ?
James.
0 Kudos
Message 1 of 2
(3,191 Views)
Try to connect "$Alarm.update and $Alarm.priority=8" to "send".
Ryan Shi
National Instruments
0 Kudos
Message 2 of 2
(3,168 Views)