I am getting below error only when running the bot in unattended mode, the click activity works fine when running the same workflow from studio or from robot tray.
Incorrect syntax near the keyword ‘Continue’. Cannot use a CONTINUE statement outside the scope of a WHILE statement. Incorrect syntax near the keyword ‘with’. If this statement is a common table expression, an xmlnamespaces clause or a change tracking context clause, the previous statement must be terminated with a semicolon.
I think it is a issue to due to resolution that gets changed in unattended mode.
however using simulate click and setting logintoconsle as false in uipath.settings file has resolved the issue.