Email Script not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2025 11:02 AM
Hello,
Not able to troubleshoot below scenario
Created below email script
Added to email template which is used by "Approval Request" Notification.
Notification is working fine , but my variable cost is not showing in email notification when it goes to approval.
Any help will be appreciated to solve this issue.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2025 11:18 AM
Hello @Sonali01
Check this threads https://www.servicenow.com/community/developer-forum/getting-catalog-item-variables-into-an-approval...
Since your email is over approval tables so current.variables['cost'] won't work. Either do dot walk for Approving for field or gliderecord over approving for record on ritm table and get variable value and print.
If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.
Thanks & Regards
Viraj Hudlikar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2025 11:48 AM
Hello Viraj , thanks for responding.
sure will look into it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2025 09:03 AM
Thank you for marking my response as helpful! 😊
I hope your concern has been fully addressed. If it resolves your issue, please consider marking it as the accepted solution. This will ensure others in the community can benefit from the solution too.
Thanks & Regards
Viraj Hudlikar.