- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2023 09:19 PM - edited ‎01-24-2023 09:22 PM
Hi All,
I have this task , When I click on 'here' from below notification then It should redirect me to related approval record. The below notification is triggered when record is inserted in RITM table. Please check the image attached.
PS. I have tried ${sysapproval.URI_REF} but it is redirecting to current RITM record.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2023 10:06 PM - edited ‎01-24-2023 10:07 PM
Hi @MH3 ,
Have a look at this post.
How to make Click here to Reject link in Approval notification to redirect to approval record, do no...
If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!
Thank you

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2023 09:59 PM
Hi @MH3 ,
Try these if there is a reference field for sysapprover table in the RITM.
${sysapproval.URI}
${sysapproval.URI_REF}
If there is no reference field, then you need to do it via email script.
Please mark correct if my response has solved your query.
Cheers,
Mohammed Basheer Ahmed.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2023 10:26 PM
Hi @MH3
var approvalRecord = " ";
var gr = new GlideRecord("sysapproval_approver");
gr.addQuery("document_id",current.getUniqueValue());
gr.query();
if(gr.next()){
approvalRecord = gr.getUniqueValue
}
template.print('<a href='+gs.getProperty('glide.servlet.uri')+'sysapproval_approver.do?sys_id='
+ approvalRecord + '>' + "here "+ '</a>');
//if the property doesn't work check if there is property in your instance then only it will work
Please mark correct if my response has solved your query.
Cheers,
Mohammed Basheer Ahmed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2023 10:05 PM
Hello,
Your notification is on RITM table and there is no any referenced field that is referring to sysapproval_approver table that's why it's not showing the approval record after clicking on link.
You need to write email script for this.
Please mark my answer as helpful/correct if it helps you.
Regards,
Namrata
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2023 10:06 PM - edited ‎01-24-2023 10:07 PM
Hi @MH3 ,
Have a look at this post.
How to make Click here to Reject link in Approval notification to redirect to approval record, do no...
If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!
Thank you