Hi Guys,
What is the most effective way to do error handling for multiple parallel API calls while loading the interface.
Currently My code look something like this.
a!localVariables( local!users:rule!APN_GetUsers().result.body, local!items:rule!APN_GetItems(id).result.body, local!info:rule!APN_GetBasicInfo(id).result.body, local!summary:rule!APN_GetSummary().result.body, {} )
If one of the API fails I will show some error in card. But how to effectively do this ? I need to this in multiple interfaces.
Discussion posts and replies are publicly visible
That depends on the error. A technical error is managed by Appian and this cannot be customized.
Then, I am not sure why parallel calls would be any different to just a single call in terms of return value validation.