Need to get approver name from sysapproval_approver table
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2023 05:45 AM
Hello Community,
I want to mention the approver's name in my notification.
For example, The table of the notification is on the Onboarding table. I want to mention the approver's name on the notification's content. Kindly help me to do it.
Thanks & Regards
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2023 02:48 AM
Hi @Snowman10
You can write an email script to get approver name
Var gr = new GlideRecord('sysapproval_approver)
gr.addQuery('document_id', current.sys_id);
gr.query();
if(gr.next())
approver= gr.approver.name;
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2023 01:15 AM