I am trying to send an email when any device in a group has not changed for a set period of time (battery status not updated in a week). I updated to EasyTrigger beta 3.0.0.69 and everything looks great and the trigger works except the email does not replace the global variables with the current values. (This is the first time I have tried to include EasyTrigger global variables in an email)
Here is the test event:

The email I get has the following body (no replacements):
Device Name:
$$GLOBALVAR:ETDeviceName:
Floor:
$$GLOBALVAR:ETDeviceLocation1:
Room:
$$GLOBALVAR:ETDeviceLocation2:
Ref Number:
$$GLOBALVAR:ETDeviceRef:
Last Reported Value:
$$GLOBALVAR:ETDeviceValue:
Last Reported Status:
$$GLOBALVAR:ETDeviceStatus:
So I looked at the Tools>Global variables tab and saw this:

OK - so I disabled the ET plugin, then deleted the variables and restarted the plugin and they were recreated again as shown above.
Then I deleted the variables again and manually created them with dummy data (using the add new variable at the bottom of the page. it then looked like this:

and the next time the email sent it had a body like this:
Device Name:
name test
Floor:
location 1 test
Room:
location 2 test
Ref Number:
1
Last Reported Value:
100
Last Reported Status:
status test
So the global variables are now replaced in the email but the values are not updated when the event runs. I set EasyTrigger to debug and saw no errors when the event triggered (after I set the variables to the test values).
So what am I missing? Any thoughts of what I should try next?
Thanks
Here is the test event:
The email I get has the following body (no replacements):
Device Name:
$$GLOBALVAR:ETDeviceName:
Floor:
$$GLOBALVAR:ETDeviceLocation1:
Room:
$$GLOBALVAR:ETDeviceLocation2:
Ref Number:
$$GLOBALVAR:ETDeviceRef:
Last Reported Value:
$$GLOBALVAR:ETDeviceValue:
Last Reported Status:
$$GLOBALVAR:ETDeviceStatus:
So I looked at the Tools>Global variables tab and saw this:
OK - so I disabled the ET plugin, then deleted the variables and restarted the plugin and they were recreated again as shown above.
Then I deleted the variables again and manually created them with dummy data (using the add new variable at the bottom of the page. it then looked like this:
and the next time the email sent it had a body like this:
Device Name:
name test
Floor:
location 1 test
Room:
location 2 test
Ref Number:
1
Last Reported Value:
100
Last Reported Status:
status test
So the global variables are now replaced in the email but the values are not updated when the event runs. I set EasyTrigger to debug and saw no errors when the event triggered (after I set the variables to the test values).
So what am I missing? Any thoughts of what I should try next?
Thanks
Comment