Send attachment from one instance to other instance ui action

Nono vak
Mega Contributor

I make a script in ui action that take data from incident and create a new incident in my other instance with the same data , with rest message.

but I need to transfer the attachments too , how I do it ? 

2 REPLIES 2

SanjivMeher
Kilo Patron
Kilo Patron

Check the below link. It has the api script which can help you to build the script to transfer attachments

https://www.servicenow.com/community/developer-forum/copying-attachment-from-one-instance-to-another...

 


Please mark this response as correct or helpful if it assisted you with your question.

Deepak89
Tera Expert

Hye @Nono vak  ,

Your requirements seems interesting I want to try  in my PDI , can you share  what you have written in UI Action .

 

Thanks