Hi,
You can use custom attribute or comment field on interface. The only trick here is that event source is a node, not an interface. To access custom attribute (or comment) of an interface for interface event you can use the following script:
You can create such script in script library and then use %[script_name] macro in your messages.
Best regards,
Victor
You can use custom attribute or comment field on interface. The only trick here is that event source is a node, not an interface. To access custom attribute (or comment) of an interface for interface event you can use the following script:
Code Select
iface = GetInterfaceObject($node, $5);
return iface->comments;
// For custom attribute replace with
// return GetCustomAttribute(iface, "attribute_name");
You can create such script in script library and then use %[script_name] macro in your messages.
Best regards,
Victor
).