SC Task sync with variables from one instance to another instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-23-2024 01:58 AM
I want to sync SC Task created along with the Variables from one instance to another service now instance. I have tried to accomplish this using SCRIPTED REST API and preparing a JSON Payload and then triggering the API but everything else like : Short description, Description , State ,etc... get Synced except the Variables linked to the SC TASK.
I tried achieving while trying to sync a RITM with SC Task and variables but was not successful using that approach as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-23-2024 05:59 AM
Hi!
Please understand that this may not be an appropriate answer since there is no mention of a specific situation.
If the relationship between the two instances is that of provider and consumer, then the service bridge function is appropriate.
The service bridge allows service requests and tasks to be handled bidirectionally.
https://docs.servicenow.com/csh?topicname=service-bridge-v2-benefits.html&version=latest
On the contrary, using the REST API to implement a customized synchronization process of tickets between instances is not recommended from a performance and data integrity perspective.