Copy & move attachments from one table to another table.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2024 06:26 AM
"Most often we need to copy and move the attachment between the tables"
GlideSysAttachment - copy(String sourceTable, String sourceID, String targetTable, String targetID). Which easily help to move the attachment from source to target table.
Here is the snippet code for instance.
@Servicenow #servicenow
- 676 Views
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2024 06:33 AM
This code will duplicate attachements when i add multiple attachements On incident Table...
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2024 12:19 AM
Hi @Abhishek_Thakur Which type of BR it is?