Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Need to copy the attachments from one task to another task

divya311
Tera Contributor

I have 3 tasks under one RITM.

Scenario 1: The attachments that we made in the 1st REQTSK should be copied to the 2nd REQTSK.
Scenario 2: Then the attachments from the 1st REQTSK and 2nd REQTSK should be copied to the 3rd REQTSK.

Can Anyone please help me with this?

I had used workflow.scratchpad Variable to copy the attachments from 1st REQTSK to 2nd REQTSK. It's working fine. But the scenario 2 is not working.
Thanks in advance.

1 REPLY 1

Abbas_5
Tera Sage
Tera Sage

Hello @divya311,
Please refer to the link below:
https://www.servicenow.com/community/developer-forum/how-to-copy-attachment-from-one-task-to-another....

 

Mark my correct and helpful, if it is helpful and please hit the thumbs-up button to mark it as the correct solution.
Thanks & Regards,
Abbas Shaik