Email Script not working

Sonali01
Tera Contributor

Hello,
Not able to troubleshoot below scenario

Created below email script

Sonali01_1-1738609126055.png

Added to email template which is used by "Approval Request" Notification.

Sonali01_0-1738609011958.png

 

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

3 REPLIES 3

Viraj Hudlikar
Tera Sage

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.

Hello Viraj , thanks for responding.
sure will look into it.

@Sonali01  - 

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.