Script in Alarm Notification Pipeline

In my pipeline, I have a script block with system.tag.write(“Alarming/Test”,“test”), followed by a notification block. The notification block executes, but I cannot seem to get the script block to do anything. Is this the correct way to use a script block? Should’nt it execute before the notification block.


The script is almost certainly running, but the tag write is failing. In gateway context, you need fully qualified tag paths. Try:system.tag.write("[default]Alarming/Test","test")The tag provider name in brackets is optional in the client because client projects have a default tag provider assigned.