How to add hyperlink in Agent workspace?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2022 10:15 PM
Hi,
We have a new requirement to add a info message on agent work space. we are getting below info message on ServiceNow hr task record but not able to display it on agent workspace. can any one help this solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2022 10:29 PM - edited 11-23-2022 10:31 PM
Hi @chiranjeevi thi ,
You can add info message as below and link as well in that :- Create Br on table after insert/update as per your requirement
For SP portal add link like : var link = '<a href="/sp">Service Portal</a>';
(function executeRule(current, previous /*null when async*/ ) {
// Add your code here
var link = '<a href="incident_list.do">List Link</a>';
var message = gs.getMessage('Incident Resolved') + ' ' + link + ' ';
gs.addInfoMessage(message);
})(current, previous);
It will show you like below :-
Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2022 04:01 AM
Hi Gunjan,
when i was writing a business rule on backend of ServiceNow Hr task record it is showing two info message.there is one another display business rule i dont want after business rule which i have created no to be run on backend record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2022 04:05 AM
Hi @chiranjeevi thi ,
Try with before Business rule.