Using GET method to fetch the attachments from another ServiceNow instance for all old incidents?

Suggy
Giga Sage

Hi All,

We have 2 ServiceNow instances 'A' and 'B'. Incidents are ebonded between the 2 instances (Incident number and sys_id of the incidents present in instance 'B' is stored in the incident form of instnace 'A' under the correltion ID and Display fields)

 

During the initial project, attachments were not considered at all. for ebonding.

 

But now we have a requirement that for all the existing/old incidents, the attachments should be pulled using HTTP GET method from instance 'A' by reading the attachments from instance 'B'. 

Points to note - 

1. There could be multiple attachments for an Incident

2. There are ~8000 incidents where we need to pull the incidents.

 

Can someone help please.........

9 REPLIES 9

Hi @Amit Pandey  yes 🙂 thats the actual requirement. I have mentioned it in my question clearly now. Is it possible? 

Hi @Suggy 

 

So hopefully you must have pulled the incidents first. You can pull the attachments in one go by using background script in ServiceNow. 

 

Regards,

Amit

@Amit Pandey  can you share more details as I didnt understand how to pull the attachments in one go using background script.

Suggy
Giga Sage

Anyone?

Suggy
Giga Sage

Anyone???