When creating a Send Email Event's Action, it would be nice to have access to some 'variables' related to the event to cut down on the number of events I have to create.
For example, I have 5 DS10a water leak detectors. Rather than create a single event for each one's device change, I'd like a single event called 'leakDetector' that has an email action. Within the message of the email, I'd like it to be generic:
Water leak detected by $deviceUnit $deviceCode when status changed to $status at $time
etc.
Any thoughts? Is there a current way to do this - maybe via script?
For example, I have 5 DS10a water leak detectors. Rather than create a single event for each one's device change, I'd like a single event called 'leakDetector' that has an email action. Within the message of the email, I'd like it to be generic:
Water leak detected by $deviceUnit $deviceCode when status changed to $status at $time
etc.
Any thoughts? Is there a current way to do this - maybe via script?
Comment