I want to have an expression tag run a script to check the health of a machine, but I don’t want to have to pass the tag path from each tag. Is there a way to pass in ‘this’ tag path?
What I have now is:
runScript(“shared.util.calc.SlowCheck(’[default]machines/Printers/7301/’”)
I’d rather create a UDT with an expression tag that gets populated into each new instance that is effectively:
runScript(“shared.util.calc.SlowCheck(this)”)