Attended robot - continueonerror

Hello, I’m using a “GetVisibleText” activity to retrieve a text from a browser. Depending if the user is logged in to the webpage, the result can be valid and stored in a variable or otherwise the “GetVisibleText” activity goes into error.
The activity is marked as “Continueonerror” = TRUE in order to let the flow continue to run.
On unattended robot, the automation is working.

I have tried to run same automation in attended mode runned from a bat file. In case the GetVisibleText is stored in a variable, the flow gets executed normally. if we have the error, instead of proceeding with different activities, the flow suddenly stops. do you know why?
how can i solve this?

thanks

Hello @giorgio.tabarellidefatis

As an alternative you could use a Check App State activity which has 2 paths depending on the outcome.

Regards
Soren

What happens if you run from assistant?

@giorgio.tabarellidefatis

  1. Even after continue on error set to true is the activity throwing error?
  2. Are you sure the same activity is throwing error
  3. Can you ahow the flow to understand may be if somwthing else is different
  4. If you are use open browser or attach browser then if application is not there then it would fail before coming to get visisble text activity itself

Cheers

thank you, this is absolutely working and really easy to apply.
thanks for the quick and prompt answer!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.