web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / 'Extract text with OCR...
Power Automate
Unanswered

'Extract text with OCR' leaving file locked.

(0) ShareShare
ReportReport
Posted on by 572

Since the 'Extract text with OCR' action doesn't work on rotated images, I am utilizing a PowerShell script to rotate the .png after the OCR fails to extract my desired text, however it seems the OCR scan is leaving the file locked for a substantial length of time. I have to utilize another script in an increasingly delayed loop to test if the file is locked. The locked duration seems to increase drastically with each of my loops.

 

Is there anyway around this, or perhaps a way to kill the process that is locking the file after each loop?

 

This flow is reading OCR scans of images from PDF files in order to disperse them into proper folders.

I have the same question (0)
  • Kaif_Siddique Profile Picture
    2,108 Super User 2024 Season 1 on at

    Hi Jason,

     

    do you want to terminate running process ?

    If yes, you can use Terminate Process action to immediately stop a running process. Select a suitable process name from the dropdown to stop.

     

    Kaif_Siddique_0-1660924706157.png

     

    Regards

    Kaif

  • JasonZF Profile Picture
    572 on at

    I'm not sure that would work. The process that is locking the file is the flow itself, pad.robot.exe. The problem is that the OCR scan from earlier in the flow is leaving the file locked for nn seconds after the text has already been gathered.

    JasonWS_0-1660926185864.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 791

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 535

Last 30 days Overall leaderboard