Question
Error Handling for Multiple parallel Api calls in Interface
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.
[mention:126a676c85024855948336691b0a7b92:e9ed411860ed4f2ba0265705b8793d05]
