How to copy attachments from TASK to RITM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 09:20 AM
Hi
How to copy attachments from TASK to RITM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 09:50 AM
Hi @raj99918
You can use this after update BR
(function executeRule(current, previous /*null when async*/ ) {
GlideSysAttachment.copy('sc_task', current.sys_id, 'sc_req_item', current.request_item);
gs.addInfoMessage('Attachements coppied from Task to RITM');
})(current, previous);
Please mark the answer as Accepted as Solution & hit helpful if it suffices your requirement !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 10:01 AM
Hi @Sohithanjan G I have done the same table is sc_task right ? But it’s not working for me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 10:29 AM
Hi @raj99918 ,
Try to update the form, it would trigger the BR. Update SC task & check .
Please mark the answer as Accepted as Solution & hit helpful if it suffices your requirement !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 10:35 AM
Hi @Sohithanjan G I have updated it as well but no luck