how to add attachment file to sys_attachment table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-19-2017 09:45 PM
Hi All,
I am unable to attach a file on a RITM as the ticket is now closed and the attachment icon no longer appears. I intend to do it by uploading the file to sys_attachment table and then copy it to RITM table via
GlideSysAttachment.copy('sourcetable', 'sys_id', 'destinationtable', 'sys_id');
However, i am struggling to attach the file on the sys_attachment table. Please let me know if there is any other alternative to attach a file to a closed RITM.
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-19-2017 09:55 PM
Hi ,
Attach the attachment to any open RITM and then copy that attachment to Closed RITM .
Then you can delete the attachment from open RITM if not required.
Regards,
Adarsha

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-19-2017 10:03 PM
Hi Sohan,
You must be having any Business Rule to hide the Attachment icon on Request Item. One of the way you can attach on closed RITM is search that Business Rule and if you get the BR, Inactive that for some time and Attachment icon would get visible to you. Attach that file to RITM and than again make that BR Active to remove the icon again.
Please mark Helpful/Correct as per impact of the response.
Thanks,
Anjali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-19-2017 11:30 PM
Hi Anjali, thanks for the suggestion, you are correct, we do have a biz rule that restricts the visibility of the attachment icon on closed tickets. However, being on Prod would not like to disable the biz rule, although i understand doing so may not have any impact as such.
Thanks in advance