Hello all,
I would like to add the container name of a node to an alarm message, but I am not quite sure how to go about it. Any suggestions?
			
			
			
				Thanks, Amay. I tried using the Script Library method, but the message is not displaying anything before the node macro.
%[GetContainerName]%n is unresponsive - %a
UVC G3Ext 2 is unresponsive - 10.1.110.166
			
			
			
				For version 5.x script GetContainerName could look like this:
for(p : $object.parents)
  if (classof(p) == "Container")
      return p.name;
return "";
			
			
			
				Thanks Victor - that did it!