how to connect the two service now instances through REST ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2019 09:11 AM
how to connect the two service now instances through REST Messages
Scenarios:
1. Servicenow to servicenow integration using REST/SOAP
2. When a incident is submitted in one servicenow environment , then a new incident should also get created in other servicenow instance with same details.
3. All updates on work notes/status done on incident in one environment should also get passed to another incident on other servicenow environment.
4. Once incident is closed it should also close the other incident.
5. Communication can happen bidirectional. Please note this.
6. You solution should have proper error handling mechanism.
Thanks,
Ram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2019 09:47 AM
Hi Ram,
please find the points below
1. Servicenow to servicenow integration using REST/SOAP -> use either out of the box Table REST API or Scripted REST/SOAP
2. When a incident is submitted in one servicenow environment , then a new incident should also get created in other servicenow instance with same details. -> use out of the box table REST API or scripted REST/SOAP
3. All updates on work notes/status done on incident in one environment should also get passed to another incident on other servicenow environment. -> whenever work notes changes have after business rule and trigger API call to another instance by first creating REST/SOAP Outbound Message
4. Once incident is closed it should also close the other incident. -> after update business rule when state changes to close trigger API call same as point 3
5. Communication can happen bidirectional. Please note this. -> have similar logic developed in instance A into instance B so that it flows from instance B to instance A. in the business rule add this condition to ensure the API call doesn't go into loop
gs.getSession().isInteractive()
-> this means any update happened manually then only trigger API Call
6. You solution should have proper error handling mechanism. -> better use scripted REST/SOAP to handle error mechanism
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2019 09:51 AM
Hi,
We have ebonding mechanism in place.
See this link: https://docs.servicenow.com/bundle/newyork-servicenow-platform/page/administer/integrationhub/refere...
We have good video on You tube : https://www.youtube.com/watch?v=nJntVpVYpqs
https://www.youtube.com/watch?v=tokwGftF0_0
Thanks,
Ashutosh Munot

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2019 10:02 AM
Hi Ram,
Refer below link,
If my answer is worthy mark it as helpful and correct.
Regards,
Pratiksha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2019 12:16 AM
Hi Ram,
Any update on this?
Can you mark my answer as correct, helpful if you were able to achieve the requirement & close the thread. Thanks in advance.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader