Ticket number mentioned in an approval notification should redirect to that ticket entry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 05:36 AM
Hi,
I have a requirement where I have a catalog field which refers to task table so user can select any type of task i.e,
incident,incident task, problem, problem task, change,RITM,catalog task etc. User wants that in an approval notification, sent to user, he/she should be able to click on the selected task number and should be redirected to that task record.
But since these tasks are in different tables, how can we achieve this ask?
Any help or suggestion is appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 05:42 AM
Hello @D Sha
To add "Approve" and "Reject" buttons to an approval notification email, you can use HTML in the email template to create clickable links that trigger the desired actions (approve or reject).
Here's a breakdown of how you can achieve this.
Create Links: Use HTML <a> tags to create clickable links for "Approve" and "Reject".
Link Attributes:
href: This attribute will contain the URL to trigger the approval or rejection action.
style : to decide the look of button
Kindly mark my answer as helpful and accept solution if it helped you in anyway,
Regards,
Shivalika
My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194
My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwN
eEISQCY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 05:53 AM
Hi @Shivalika ,
I appreciate your quick response but
I am looking for a way to get a dynamic link for the ticket number selected by the user on the catalog form which are actually stored on different tables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 06:04 AM
Hello @D Sha
Below is the dynamic URL you can provide. The sys id of the record you can dot walk to as it will be a reference field or even just glide the task table with number filter and get the sys_id.
https://your-instance.service-now.com/task.do?sys_id=<RECORD_SYS_ID>
Kindly mark my answer as helpful and accept solution if it helped you in anyway,
Regards,
Shivalika
My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194
My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNe
EISQCY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 06:08 AM
Out of the box approval notification does have link to the ticket number
What extra do you want?
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