Posted: 20 Dec 2018 12:40 EST Last activity: 21 Dec 2018 9:21 EST
How does Pega handle errors while calling an external API
In this scenario, assume e have setup Pega to call an external API and get data needed for the workflows. This external API is hosted by a third-party and we do not have any control on its availability.
My question relates to how Pega handles errors in the case where the external API is down for some time.
- Does Pega detect the HTTP error codes returned by the external API and stop sending the requests until it gets a valid status code again
- Or does Pega keep trying the API unsuccessfully until it has exhausted all available threads and chokes itself?
- What are the recommended settings in Pega to handle a scenario like the one described above?
Thank you for your help.
***Edited by Moderator: Pallavi to update platform capability tags***