Service now attachments are not showing up in Manage Attachments section
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-11-2018 04:26 AM
I'm using service now api https://xyz.service-now.com/api/now/attachment/file api for attaching files to the incidents. Files are getting attached to the incident and they are appearing in activity section but not showing up in the Manage Attachments section. How do I resolve the issue? |
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-02-2021 05:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-02-2021 05:42 AM
Hi,
if you are attaching the attachment with the help of script using
GlideSysAttachment.copy() or attaching using file attachment field
in this case in sys_attachment table add prefix ZZ_YY in table name column
just remove prefix and test with fresh request you will get on manage attachment as well on head and worknotes
Please refer below screenshot
Please mark as correct/helpful, If you find any help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-02-2021 05:20 AM
Hi
Yes, For that please go to the sys_attachment table and find your attachment record
And remove the prefix of table "ZZ_YY",and then check you will get your attachment attached in manage attachment
I have faced same issue earlier and resolved like this
Please mark as correct/helpful, If you find any help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-02-2021 06:22 PM
Hi
Please mark as correct if it's solve your query so thread will be closed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2021 07:16 AM
Thanks Kajal!
Yes, when wee have Copy attachment BR on task table ..we need get current table name instead of task table.
here is BR
var systemp = current.u_template;
var thisRec = current.sys_id;
var table = current.getTableName();
GlideSysAttachment.copy('sys_template', systemp, table, thisRec);
Issue resolved ..attachments on right child table and now visible under Manage attachments.