Error recognition


I need some help by a process I try to automate with RPA Express.
Normaly the bot should click in SAP Hana on the “write log” button (see picture below). But If there is a database error, the notification box from the picture appears and you couldn´t click on write log. Then the bot should write an email to someone.
But the error appears in a form, that the bot can spot the button.
Does anyone knows, how i can do it, that if the error appears, that the bot dont try to click on the write log button, and instead do another action? Or that the bot recognize that the button isn´t clickable?
Thanks for your help!


You have 2 options: