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
Here is the application in 18.2 to import and review for those who may be interested. The Query Database smart service will need to be updated to ping the database you're monitoring.
DB Connection Checker.zip