Need to conditionally display section only on successful a!queryEntity results

I have an application database that is unreliable in its availability.  The UI rule that calls the expression rule works great when the db is available, but fails often with the message Expression evaluation error at function a!queryEntity [line 38]: An error occurred while retrieving the data. 

I want to be able to not display this section if the expression rule call fails and instead put a message like "the database is currently not available, please try this again in the future" rather than have the alarming pink message display.

Is there a best practice or design pattern I can refer to that handles this? 

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data