Interaction between Scoped Applications on Different Instances
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2023 11:36 AM
Hey, folks!
I'm trying to figure out if it's possible for a Scoped Application on one instance to talk to one on another instances. Throghout my googling, I've seen a number of different suggestions but haven't figured out the right approach yet.
I first tried scripting with an object called the "RemoteGlideRecord" as suggested in some forum online. But it doesn't seem this is a thing since I can't find it in the serviceNow reference. Only the GlideRecord. So either it's no longer supported or was a third-party class or something?
Then tried looking for "remote instance" in my ServiceNow instance and found a section that seems to allow you to create and test the connection to a remote instance by specifying the URL and credentials to that remote instance. But I didn't figure out where I would use that entry to then speak between instances.
The last thing I tried (so far) was looking into a plugin on the ServiceNow store called the "ServiceNow Remote Instance spoke." I see that it has 1 out of 5 stars as a rating and seemingly one review. So something tells me folks don't actually use it. And I didn't look into it any further just yet as I'd first have to find out who in my organization would be responsible for getting the plugin.
So I guess what I'm looking for is the most recommended best practice for scoped applications on one instance to talk to another scoped application on another instance.
Thanks,
B.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2023 01:15 PM
I am currently working on an instance which has a synchronization based on imports sets. Basically whenever e.g. a incident is created or updated, the update is pushed to that import row and then processed via transform maps. This is an interesting idea, but I dont think this is a good design choice, as import sets are kind of meant for bulk data import and transformation.
I cannot see any advantage over creating a Scripted REST API, which is script based or flow based (unfortunately only with Integration Hub Enterprise...).
If read-only access is sufficient, you can also think about using remote tables in combination with a simple REST Interface. This would give you also some caching options to reduce network load and increase performance.
Unfortunately I haven't had the chance to use one of the OOTB technologies like the spoke you mentioned or Instance Data Replication (https://docs.servicenow.com/csh?version=latest&topicname=instance-data-replication). I would be curious to know other peoples experience with those technologies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2023 07:21 AM
Yeah, we'll probably need to know how to implement synchronization as well. But we're trying to do a proof-of-concept for different approaches related to interconnections between separate instances, so I'm just starting out and trying to figure out where to start first. Will be taking a look at the link you provided. Thank you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2023 02:50 PM
It probably depends on what your actual requirements are, but remote process sync would also be an option. Here's a pretty good docs article that compares some different methods: https://docs.servicenow.com/bundle/rome-servicenow-platform/page/administer/integrationhub/reference...
When you say you want the instances to "talk to each other", are you thinking syncing records or one instance kicking of a process in another instance?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2023 07:18 AM
It's all a proof-of-concept sort of task right now. And I'd have to go back to the specifics of each of the things we'd like to try to do, but I'm up for learning all of t ways one can get interaction between two instances: One scoped application of one instance to another scoped application on another instance, getting global applications to talk to each other, etc.
How to keep data synchronized across instances, how to have scoped application A get some value from scoped application B (on a different instance) and use that value for Scoped application A to perform some other calculation. How to have Scoped Application A insert a record in scoped application B (on different instance) when something happens in Scoped application A.
Currently, I don't know where to start looking to even get an idea of what to do, so I'll take anytyhing. I'll be taking a look at the link you provided shortly. I appreciate it. Thank you.