I am trying to read the configured Active Pipeline for few tags and possibly change it by using a script so that I don’t have to do it manually one-by-one. These tags are UDT instances and have alarms configured. The Active Pipeline may or may not be default values (set in UDT). I tried this but it is returning ‘null’:
Have you confirmed that the tag at the path you are showing has a configured pipeline for that alarm? Does it show a value if you navigate to that tag property in the tag browser?
Just always be aware when using system.tag.getConfiguration on UDT instances that it returns not just local configuration to the instance (eg what you get when you copy JSON), but all of the overridden props from the UDT definition as well. If you were to use this with system.tag.configure, you would then set prop overrides for all of this at the instance level as well, defeating some of the purpose of using a template (UDT). system.tag.configure however can be used to write only selected configuration using the merge option in its args