How to get incident number which was created through soap message another snow instance

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 03:51 AM
Hello All,
I need set incident number which was created through soap message in other snow instance. please let me know, How we can set that value in below code

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 05:03 AM
Hello,
If I understand correctly you want whatever Jira is responding you want to set in incident record of same Instance ? if yes try below once.
var body = JSON.parse(responseBody);
current.correlation_id = body.id; //replace id with whatever you want
Regards,
Musab

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 05:34 AM
Using soap, it was not giving the input. Not mapping correlation id. Please let me know how to get incident number ? which was created.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 05:09 AM
Hi @Community Alums ,
Please use Correlation id to map the Incident number from another instance.
Pleas keep in mind that there is another method provided by servicenow for instance to instance integration (Service bridge integration).
Please hit like and mark my response as correct if that helps
Regards,
Arun

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 05:36 AM
For learning purpose I am practicing in PDI. could you please let me know the answer.