ServiceNow integration with Third Party application

shraddhap
Tera Expert

Hello All,

We have a requirement where we need to integrate Servicenow with Third Party application which is IBM Resilient. IBM Resilient is not publicly accessible, so there are some challenges which we are facing. 

Since Resilient is not on Public IP so need of MID server is must. But due to some security issue we will not install MID server and we have to use (AXWAY) API Management Gateway. Now we received final API from API Management team and configured Rest Message and set the Authentication as "Oauth 2.0".

Note: We are using Client ID and Client Secret id for Authentication

To establish connection with Resilient API we have to first call Session API which will consist of CSRF Token and JSESSION ID and we got status as 200 OK for Session API . Next step is to call another API which is Comments API which will be used to update worknotes or comment from ServiceNow to resilient.

But when we are calling the second API we need to pass that CSRF Token and Jsession ID which we received from Session API. But it seems its not working for us, it gives us a 401 error i.e "Invalid User name and password combo".

Please let us know if there are any other configuration need to be add in Servicenow which we may missing in our case. 

Also is there any other way if we can achieve this kind of Integration when Application is on premise. (behind Firewall)

Please find attached code and let me know if any correction or suggestion.

 

 

5 REPLIES 5

Hello Allen,

Thank you for your response.

Now we are able to establish the connection between ServiceNow and Resilient. Also, we are able to exchange the comments and worknotes between ServiceNow and Resilient. 

Now our next step is :
1) When servicenow create incident for Resilient then it should also get created at Resilient side.
2) Send attachment from Servicenow to Resilient

For attachment, Resilient accepts only "multipart/form" data and based on my search on community I came to know that multipart/form-data header is not supported in ServiceNow. It require Integration Hub for such kind of format.

Please find below KB article:
KB article : https://hi.service-now.com/kb_view.do?sysparm_article=KB0745010

Could you please help me on above two topics? 

Regards
Shraddha