How to call variable in email scripts from sysapproval table in email notification of servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2024 06:55 AM
Hi,
I have a requirement that I need to call a variable from email scripts in servicenow from sysapproval table. Kindly help me on that.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2024 07:12 AM
Hi @Arun91 ,
Please refer to this thread: https://www.servicenow.com/community/itsm-forum/adding-ritm-variables-in-approval-mail-notification/...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2024 07:59 PM
Hi,
I have tried the code but it is not working. I am using Order guide for creating service request. Once request is submitted, approval will be triggered. The approval is in Service Request. The approval email goes to the approver that should display all the ritm variables in the email
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2024 07:35 AM
Hi @Arun91 ,
If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!
Thanks & Regards,
Sumanth Meda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2024 08:03 AM
Hi @Arun91 ,
Please try to use below script :