Shouldn’t it be possible to set a global variable value within the rule file itself at the top.  Something like?

 

 

global String deviceName = “myDevice”;

 

 

 

I thought you could do that, but  consistently get an error saying  illegal character ‘=’ expected “(“

 

Or something along those lines.

 

This is possible and that syntax should work, shouldn’t it?

 

Thanks,

Chris