- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2020 02:17 AM
Hello All,
There is a requirement to copy the attachment from RITM to Catalog Task using workflow.
I could see more community answer to do that using after Business Rule in task form, but I have been asked to do that using workflow.
I tried replicating some of the scripts in the community using Run Script activity but that didn't help.
(GlideSysAttachment.copy('sc_req_item', current.request_item, 'sc_task', current.sys_id);)
Can some help me please.
Thanks,
Arunkumar J
Solved! Go to Solution.
- Labels:
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2020 02:47 AM
Hello,
In the catalog task use this code this will help you
GlideSysAttachment.copy('sc_req_item', current.sys_id, 'sc_task', task.setNewGuid());
Mark it as Helpful/correct if it helps you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2021 02:12 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2020 02:47 AM
Hello,
In the catalog task use this code this will help you
GlideSysAttachment.copy('sc_req_item', current.sys_id, 'sc_task', task.setNewGuid());
Mark it as Helpful/correct if it helps you

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2020 06:08 AM
Hi
Hope you are doing good.
Is this question resolved or you need some more assistance?
if your query is resolved then please mark the correct response so that this thread can be closed.
Regards
Pranav