Error Handling for Multiple parallel Api calls in Interface

Certified Associate Developer

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

Parents Reply Children
No Data