- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2025 01:12 PM
I'm using SN to push a message through to our ERP system using an integration spoke and mid server. The message is synchronous, so when we send the XML, we should get an immediate response to the message in XML. What's the best way to set the system up to receive that response? The end goal is to updates and resolve the incident when the response is received. I'm using an action with a REST step to send the payload to our ERP and am thinking another REST step should be used to get the response date. The ECC queue shows my message and the ERP response but the response payload doesn't match what our ERP sent, which I guess is expected since it doesn't show my output from SN in the earlier step.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2025 12:14 PM - edited 02-06-2025 12:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2025 08:37 PM
why not use another custom action to parse the API response just after the REST Step since you will be getting the response immediately?
OR
you can somehow parse the output json and use inline f(x) script to set field values
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2025 12:14 PM - edited 02-06-2025 12:17 PM
The output step in the action let me get the response.