- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2020 07:17 AM
Hi Team,
How can i achieve the below requirement.
When the agent attaches the attachment to ServiceNow, a link to the attachment should get added to work notes.
Any help would be highly appreciated .
Thanks in Advance.
Regards
Deepak Bisht
Solved! Go to Solution.
- Labels:
-
Customer Service Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2020 02:24 AM
Hi,
then use this but it won't be clickable link unless you give anchor tag
I have not used anchor tag in below code
var rec = new GlideRecord(current.table_name);
rec.get(current.table_sys_id);
var url = 'https://' + gs.getProperty('instance_name') + '.service-now.com/sys_attachment.do?sys_id=' + rec.sys_id;
rec.work_notes = url;
rec.update():
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2020 09:14 PM
Hi pradeep,
Thanks for reply . but i need URL not the attachment
Appropriate your efforts