- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2020 05:34 AM
Hi,
Currently I am working with two dev instances and am trying to configure them so that whenever I create an incident in one it is created in the other. This is currently working however now I want to configure the systems using PUT requests so that when an incident is updated in one system, that corresponding incident is updated in the other and back and forth etc.
We have a weak workaround for this right now by sending the sys_id over in the initial tickets short description but would like a more robust and permanent way to link these two tickets. Such as when using email ebonding, the incident number in the email subject is used to pair these two incidents across instances.
What is the best way to go about this using REST API and business rules, any examples are much appreciated thanks.
Solved! Go to Solution.
- Labels:
-
Integrations
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2020 06:43 AM
Hello,
Once the ticket is created from A to B, parse the response and store the B's Number in the A's correlation ID field. Once, you have an correlation ID, you can create an After Update Business rule to trigger the update transaction.
In order to avoid the unnecessary integration calls, make sure to have an proper BR conditions(Ex: If you are updating from B to A and to avoid the unwanted update transaction calls from A you can have an BR conditions on A Instance update BR like current.updated_by != A User)
Regards,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2020 05:28 AM
Hi,
Check below community link,It will help you.
Mark correct/helpful based on impact.
Thanks,
Dhananjay.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2020 05:38 AM
You could make use of Correlation id field to save the incident number created in other instance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2020 06:43 AM
Hello,
Once the ticket is created from A to B, parse the response and store the B's Number in the A's correlation ID field. Once, you have an correlation ID, you can create an After Update Business rule to trigger the update transaction.
In order to avoid the unnecessary integration calls, make sure to have an proper BR conditions(Ex: If you are updating from B to A and to avoid the unwanted update transaction calls from A you can have an BR conditions on A Instance update BR like current.updated_by != A User)
Regards,