Using GET method to fetch the attachments from another ServiceNow instance for all old incidents?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2024 10:42 AM - edited 05-08-2024 09:48 AM
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.........
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2024 09:49 AM
Hi @Amit Pandey yes 🙂 thats the actual requirement. I have mentioned it in my question clearly now. Is it possible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2024 09:49 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2024 01:56 AM
@Amit Pandey can you share more details as I didnt understand how to pull the attachments in one go using background script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2024 08:38 AM
Anyone?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2024 09:47 AM
Anyone???