Bi-directional Rest Integration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2016 02:12 PM
Hi All,
We have two departments in our company using two different Servicenow Instances. Requirement is integrating those two Servicenow Instances. I think it can be done by using REST Integration. Integration must be Bi-directional (if an incident is created or updated in one, the same must happend in other and vise versa). Any help in how to do this? (like some update set or some scripts or steps to follow to achieve this integration).
Thank you.
- Labels:
-
Integrations
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2016 06:00 PM
Rohith,
You are correct that you can use the REST API for this. You'll have a few different steps that will be needed, including:
1.) Identifying the correct information to be passed between the systems
2.) Creating REST Message templates for each system to use to send
3.) Creating business rules to trigger the sending of the appropriate messages (acting as consumer) to the other system.
4.) Ensuring that you're coordinating correlation values to act as the main reference point. This can get tricky, especially if you're going to want to keep your numbering the same on both. In that case, you may need to break up your numbering scheme to accommodate.
Unfortunately there is no simple method around this, as it's more of a practice.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-20-2016 04:38 AM
I have a similar requirement, can you please explain little on the " coordinating correlation values" part because i am facing problems in the update part of the integration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-28-2016 01:37 PM
It would be helpful, If you can mention your requirement. For an example if you need to update an record you should first search the record. To search the record you may not be able to use sys_id since you are in two different systems. In that case you need to use another unique value for records. Similarly for referencing records you can not use the sys_id. Again you may use some unique value to search the reference record and set proper reference record in second system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2017 02:22 PM
Hi Rohith,
The Perspectium app seamlessly integrates SN instances bi-directionally with no coding or web services required on your end, so any instance created in one would be simultaneously created in the other. It would allow you to skip those steps mentioned above, and create real-time synchronization of your instances.
If you are interested in learning more, please feel free to contact me directly at william.morisseau@perspectium.com.