Requirement/workflow as below:
- Using read pdf with OCR activity to read a pdf and extract its text.
- Using invoke code activity to update metadata of that pdf with text extracted in step1.
Project language in json file - Visual Basic
Invoke code language - C#
Whenever i try to execute this, I get below exception thrown for invoke code:
Exception thrown by target of an invocation → Cannot access the file as file is in use by another program.
What can be the issue? I even tried to add delay(60 seconds) between 2 activities thinking may be file was not yet released by read pdf activity when invoke activity tried to use it. But still dint work.