copy attachments from parent to child record through background script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2024 05:26 AM
Hi All,
Kindly help me to provide background script copy attachments from parent to child record
parent - incident
child - u_azure_devops custom table
i tried with GlideSysAttachment.copy('incident',current.sys_id,'u_azure_devops ', current.u_azure_devops );
and few other ways but not working , kindly provide correct code
there are few attachments already there for these records , we need to skip those and only not attached attachments only has to process
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2024 05:30 AM
Hello @Nitya2 ,
You can refer my below post, where I have explained how to move attachment from one table to another.
Please accept my solution and give thumbs up, if it helps you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2024 05:58 AM
could you please give for background/fix script , i have already Businessrule working for ongoing tickets.
needed for existed/old tickets