Using variables from ritm in Notification.

Spike236
Tera Contributor

Hello everyone,

 

technical question, how I can access variables from ritm in Notification? I want to access one specific variable which is a reference to a different table and use its fields for the recipients of the notification. I would have use my required table straight away, but I also want to reference the RITM in the email template/email body.

 

Thank you

2 REPLIES 2

Hemanth M1
Giga Sage
Giga Sage

Hi @Spike236 ,

 

Use :

${variables.name_of_the_variable} //replace "name_of_the_variable" with your variable name in your notification.

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

Manoj89
Giga Sage

You can't directly send an email to an email ID from some variables, you can use a notification email script but that won't allow you to set the TO address.

 

Better if you create an event and set it to trigger a notification against that event.