- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Is there a way to add a link to the related Change Request ticket when viewing an Incident ticket in the Employee Center?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello @asaasaasa, You can write a BR (Change Request field changes) to post the link in the Comments (Customer Visible).
Condition for BR
Code:
(function executeRule(current, previous /*null when async*/) {
var url = '[code]<a href="' + gs.getProperty('glide.servlet.uri') + '/'+'change_request' + '.do?sys_id=' + current.rfc.toString() + '" target="_blank">' + 'Related Change Request - '+current.rfc.getDisplayValue() + '</a>[/code]';
current.comments = url;
current.update();
})(current, previous);Sample Output:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
so what's not happening?
on click nothing is opening up?
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
you can add the link in work notes once CHG is linked with INC
what did you start with and where are you stuck?
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
