New Ranks & Badges For The Community!
Notice something different? The ranks and associated badges have gone "Star Fleet". See what they all mean HERE
Highlighted
Absent Member.. Absent Member..
Absent Member..
98 views

Can I use a variable for the either the Object or Application name in creating an outgoing message ?

I am trying to use a variable (ie  <app_name> ) within the Object field when creating an outgoing message. When testing, the Object column in the browser populates as <$app_name> . Can I only use plain text within the Application and Object fields or can I use a variable?

I am using the following as a pattern match:

<@.app_name>

thanks

 

0 Likes
2 Replies
Highlighted
Captain
Captain

Hi,

You can use HPOM action variables on most message and command text boxes, with some exceptions depending on the type of policy. We strongly suggest checking the available variables, with their corresponding exceptions, the help section for the type of policy you are using.

For example, the <$MSG_NODE> Returns the IP address of the managed node on which the original event took place. I placed this variable in the Object field and returned the IP address of my managed node in the object column. However, not all HPOM variables will work in this field.

Regards,

 

Highlighted
Absent Member.. Absent Member..
Absent Member..

Hi

Thanks for the reply.

So I am assuming since the variable I am using is a user defined variable it probably will not work in the Object field as well as the Application field? Is this correct?

 

Thanks 

 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.