This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Custom SQL or SWQL Code Help

Hello I am trying to figure out a way to add a descriptor into my alerts that tells new staff whether an alert is for a PROD, or TEST, or UAT/DEV node.

Below is the basic concept of what I'm looking to add:

This alert is on a {variable} node.

if ${NodeName} contains pr than PROD

if ${NodeName} contains ts than TEST

if ${NodeName} does not contain pr or ts than DEV\UAT

Thanks in advance