cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Variable to pass BT name in Email or HTTP Template

Mohit.Gupta
Maker

Hi Folks,

 

Looking for a variable which can be used to pass business transaction name in Email or HTTP request template similar to below.

 

${latestEvent.node.name} - For Node Name

 

Regards,

Mohit

2 REPLIES 2

Mario.Morelli
Architect

Hi Mohit

 

You can use the affected entities as below, as multiple entities can be triggered by a health rule, you can use the index to pull certain ones, depending on your health rule setup

${latestEvent.affectedEntities[0].name}

${latestEvent.affectedEntities.name}

 

 

Ciao



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

Learn more about me in the Community Member Spotlight Q & A

Hi @Mario.Morelli 

 

${latestEvent.affectedEntities[0].name}, worked for me.

 

Thanks!!