Rename filename after reading from attachment (GlideSysAttachment)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2018 07:14 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2018 07:20 AM
Hi,
Unfortunately, it doesn't allow renaming or targeted copying. However there is a solution available for this
https://snprotips.com/blog/2016/2/25/understanding-and-using-glideattachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2018 07:28 AM
Hi Nithin,
you can use before insert business rule on the sys_attachment table and change the file name
BR Condition: table_name is target table
Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks
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
08-02-2018 01:08 AM
Hello Ankur,
Do you have script solution for this?