Parsing XML Elements - Infinite loop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-12-2023 11:37 PM
Hi
"Suppose a large XML payload is received as a response from a third-party API request, and your scoped app requires parsing that payload. In that case, there might be instances where looping through multiple nodes might take a significant amount of time, resulting in an infinite loop affecting the instance resources. To avoid such scenarios, always keep a maximum counter/limit in your logic while parsing XML elements to break the loop once that upper limit is reached."
"We recommend Data Stream action for handling response data larger than 10 MB. Data stream action work in conjugation with Flow Designer to send REST or SOAP requests and allow flows to process large requests by processing each object in the data stream using For Each flow logic. More info on Data Stream action can be found here"
from which table i can limit the data response?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-12-2023 11:43 PM
So what's the question?
OR
you want to share some information to community members? if yes then please share the complete steps so that it benefits all
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-13-2023 01:47 AM
I want to limit the responses from third party where can I set the limit for the third party responses?