Get Ocr text fails when run through orchestrator



Iam trying to read a text from a pdf.The pdf contains scanned copy of an image.

SO I use Get ocr text activity and when I run through Ui path studio, I get correct value of output from pdf.

But when Iam running through Orchestartor, Iam getting wrong value of output.

Please help me.



Usually it won’t happen. If you run thru studio or Orchestrator, the robot functionality won’t change.
Make sure that for OCR Text, the window will be visible.

Karthik Byggari


Yes the window is visible.
It is actually reading some other text.


Does Resolution has got any significance here?


OCR Text behaves differently for different resolutions, backgrounds etc., Try with a suitable OCR (Google, Microsoft).

As far I know the problem is strange.

Karthik Byggari


I have set the resolution proprties inside Robot settings and tried. Still its not working.
Also tried with google and icrosoft ocrs; But not working


Can you able to see the remote desktop (where the robot is running) what is happening exactly while robot is running ?

I don’t see any issue here. Everything is fine.

Karthik Byggari


When the robot starts running through orchestrator, the active remote session turns off in my system.


Can you try setting loginToConsole FALSE, which will not turnoff your remote login session. so, you can see the robot running.


I will share the program here.
Main.xaml (9.2 KB)


Let me try with your document. Currently I don’t have access to my system. I will let you know as early as possible.

Karthik Byggari


Hi Karhik,

It worked when I set loginToConsole FALSE in Orchestrator, and it was reading the ocr texts correctly from pdf file.
But Now I tried the same again, It is not working.
If I am running the process through Orchestrator and if I open the remote desktop and watch what is happening, I could see that the ocr texts are correctly read.

Could you please help me know whats the issue.

Thanks in advance



It looks strange. Can you please record the screen on remote desktop while robot is running. And see what is happening in the background when triggered thru Orchestrator.

I will check your workflow files and see I found something.

Karthik Byggari