How can I handle screen notification which comes top of any application in the machine?

Hello,
I have build a Reframework UiPath Process to automate a Cerner Application, which fetches the details of the Patient from their UI. As you know how reframework works, below are the basic steps involves in the process—

  1. Process first reads a CSV file and push all the data to a Queue in Orchestrator
  2. It then takes a single QueueItem(TransactionItem) from the Queue
  3. Then it perform CV Operations on the Cerner application to fetch or scrape the details for each Item in the Queue and then stores the scraped data into another CSV file.
    I have handled each and every step in the process using Exception Handling.
    But I was unable to do exception handling for a notification that appears on top of the screen. It may appear at any given time, there is no appropriate timeframe or difference of time to determine when does the notification will appear.
    Note: This notification may appear at the start of the process, or in the middle , or at the end, and then CV activities fails to perform consistently.
    And manually, the notification disappears on using ENTER or SPACE from the keyboard.
    Below is the image of how the screen notification appears. Please look into it.

    Please if any solution or process would be right to handle this exception, let me know.
    Any help would be appreciated.
    Cheers!

That idler timeout is likely happening because you are use simulate, if possible try using hardware clicks and it may signal to the app itself that it is not idle.

I can respond with other solutions but it depends on the structure of your code.

What do u mean by hardware clicks?
I am using click activity using Mouse and also type activity using Keuboard, but both are CV activities. Because the application I am trying to scrape will only act on CV activities.

And what other solutions can you refer?

I would then wrap my activities in “CheckApplicationState” either individually or inside of a retry scope. Then check for error message on one side and respond otherwise perform other activity