How to add button in email script
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2024 09:19 PM
Hi i AM TRYING TO ADD A BUTTON IN EMAIL SCRIPT AND then adding a email script on the button
but it is not working
the button should be clickabale
<div style='height:30px;'> </div> <div><span style='color: #324450;'><button style='color: #324450;'> ${mailto:mailto.approval.accept}</button> <button style='color: #324450;'>${mailto:mailto.rejection.accept}</button></span></div>
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2024 09:26 PM
Hi @avinashdube
In notification script you can add html as below
template.print('<a href="LINK HERE" >button</a>');
email notification script documentation for reference:
Thanks.
Mark This helpful and correct if it helps you.
Learn how to build configurable workspaces from scratch in ServiceNow in this informative session. Whether you're working with App Engine Studio or starting fresh, we provide essential steps and use cases for creating custom workspaces that meet your needs. #Servicenow #Workspaces #AppEngineStudio
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2024 09:33 PM
Try this
<div style='height:30px;'> </div>
<div>
<span style='color: #324450;'>
<a href='mailto:mailto.approval.accept'><button style='color: #324450;'>Accept</button></a>
<a href='mailto:mailto.rejection.accept'><button style='color: #324450;'>Reject</button></a>
</span>
</div>Also Refer to this Article
Regards,
Shyamkumar