Integrating two instances through REST

rockfortvv
Tera Contributor

I want to integrate two ServiceNow instances, by creating a custom widget in the Employee Service Center (ESC) portal that captures incident data and submits it to another instance. When the submit button is clicked, the widget will make a REST API call to the second instance, creating an incident in the second instance without creating a table in Instance A.

 

I haven't found anything to point me in the right direction for this process. Would like some suggestions

 

Regards

Vineeth

1 ACCEPTED SOLUTION

Laveena-Agarwal
Kilo Sage

Hi @rockfortvv 

You need to divide the requirements in 2 parts-

1. Integration - Establish the connectivity between 2 instances and then use the Table API/Scripted rest API to import the data into second instance, you can test this with REST API explorer also.

2.Portal - Create a custom widget and for capturing the incident data , on the submit button you need to call the API.

There are plenty of videos available online/ servicenow learning, try to approach the requirement in fragmented pieces.

View solution in original post

5 REPLIES 5

@rockfortvv 

the links I shared has logic to use REST Message etc.

It's upto the developer from where they wish to call.

The link talked about business rule but you can use the same in widget server side script.

As per new community feature you can mark multiple responses as correct.

If my response helped please mark it correct as well so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader