I've got an event that triggers when a device in a group changes value, works great.
In that event I'm able to successfully send the ET global variables in an email.
When I try to write those same variables to HS4 log in an immediate script in the same event, I'm getting compilation errors. The WriteLog script works fine if I take out the ET global variables.
What am I doing wrong?
In that event I'm able to successfully send the ET global variables in an email.
When I try to write those same variables to HS4 log in an immediate script in the same event, I'm getting compilation errors. The WriteLog script works fine if I take out the ET global variables.
Code:
&nhs.WriteLogEx ("Alarm", $$GLOBALVAR:ETDeviceName: & " in " & $$GLOBALVAR:ETDEviceLocation1: & " is " & $$GLOBALVAR:ETDeviceStatus:, "#FF0000")
Comment