Tag event script not executing

I have a problem with Tag Event Script. When I change the value I would like it to execute a write to another tag but it doesn't bring any change. I use the example in the manual but it does not work further:


In my case:

Best regards,

Your extra indentation looks odd, but is not obviously a problem. Consider capturing and logging the return value from writeBlocking(). Don't forget to check the gateway logs for any errors that might show up for compiling and executing this code. (Tag events are gateway scope, so their errors show up in the gateway, not in the designer.)

How to capture it, do you have any idea? I also don't see any information in the gateway logs.

    qualities = system.tag.writeBlocking(....)
    system.util.getLogger("myLogger").infof("My write qualities=%s", qualities)
1 Like

Got it! Thank you!