- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2020 10:49 AM
Hello Experts,
We have special use case where we have Parent & child case stored in same HR table.
I need to copy attachment from child case (hr performance case table) to parent case (on HR performance case table).
I see multiple community posts where copy from one table to another. But I couldn't find help on copying attachment from one record to another on same table.
Solved! Go to Solution.
- Labels:
-
Instance Configuration

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2020 01:56 AM
Hi
You have to apply the logic such a way that this BR should run only once so it will copy once.
Question, When do you want to copy attachment ? which event ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2020 01:08 AM
@Ankur Bawiskar and
Here is my business rule:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2020 01:18 AM
Hi,
During copy you try deleting the older ones.
GlideSysAttachment.copy() would copy all the attachments again
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
11-18-2020 01:56 AM
Hi
You have to apply the logic such a way that this BR should run only once so it will copy once.
Question, When do you want to copy attachment ? which event ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2020 07:04 AM