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

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.

Thanks @Laveena-Agarwal Will try this way

 

Ankur Bawiskar
Tera Patron
Tera Patron

@rockfortvv 

Refer below link for step by step instructions

ServiceNow to ServiceNow Integration using REST API and PUSH and PUT methods with Business Rule 

You can also explore on Ebonding Spoke with less scripting

ServiceNow eBonding spoke 

Refer the below link which has the approach with example shared by me.

Integration hub ebonding spoke 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Thanks for the suggestions. The catch is that the incident form should be created only through the widget server script without the usage of Business Rule