- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2022 03:08 PM
Hi All,
I want to know how can I send the response I am getting from a Application A to Application B from a Servicenow.
I am using Rest API, written a Rest message and was able to capture the response coming from Application A(captured it in one of the SNOW tables) now I wanted to send this response to Application B. You can consider Applications as two different servicenow instances.
Please provide your suggestions, it would be very much helpful for me.
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2022 01:51 PM
Thanks for your reply, I have fixed my issue, I was sending incorrect data in the http query parameters content section, have corrected it.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2022 09:43 PM
Hi,
So you are invoking API for 1 application and receiving response and want to share it with another application
So you will have to consume API of another application and send it
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-26-2022 07:45 AM
Thanks for your response, Ankur.
I have API of second application, but when I am sending the response of Application 1, I am seeing empty values in the response body of application B.
Below is the sample requestbody and responsebody
I am capturing the response of 1application in two fields of user table and trying to send them using these two fields "u_mirrored_user_name", "u_mirrored_user_sys_id"(These two fields I have defined in the application B)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-26-2022 08:10 PM
Hi,
so request body is correct
response is not correct
Then you need to check the API in instance B; what it is doing and how it is sending the response
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2022 01:51 PM
Thanks for your reply, I have fixed my issue, I was sending incorrect data in the http query parameters content section, have corrected it.
Thank you.