Email Action button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2025 09:47 PM
Hi Team ,
I have a requirment on 'Problem' table .
In the notification we need to add two buttons ' Approve ' and ' Reject ' .
If we clicks On approve button , in the problem record worknotes should updated with ' approved ' . Same as if we clicks on reject in the problem record worknotes should updated with ' rejected ' .
I have added image
This is the mail scritpt
added this email script to the notificatin
while prevewing the notification , showing undefined
can anyone please help me on this request with steps , if possible please provide screenshots for better understanding .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2025 10:01 PM
Hi @nameisnani ,
looks like you are following below thread to include the button
I see an extra space in the notification message HTML
${mail_script:email.button.approve.insert}
and Make sure the
renderMailtoButton is available in your system
I would copy the things exactly as stated in the blog and try again
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2025 11:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2025 11:23 PM
try to use _ instead of dot in the name of email script
Also note if you are referring to this link for showing the images then the script include name and function name are same and might cause issue, so have that separate
Approve/Reject button in Approval notification
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2025 11:32 PM
My requriement is different ,
I have a requirment on 'Problem' table .
In the notification we need to add two buttons ' Approve ' and ' Reject ' .
If we clicks On approve button , in the problem record worknotes should updated with ' approved ' . Same as if we clicks on reject in the problem record worknotes should updated with ' rejected ' .
could you please provide me the steps according to my request