Hello all,
In my workflow, I am finding a collection of entries in a folder using Find Entries activity. Using the 'For Each Entry' activity using the output from 'Find Entries', created a SDK script activity as follows. I am on SDK 9.1
I am getting a warning DocumentInfo object is new or not connected. Parameter name : document
Here is the code snippet. What am I doing wrong?
ConnectionWrapperRA wrapper = this.ConnectToRA(ConnectionMethodRA.RepositoryAccess91);
DocumentInfo di = (DocumentInfo)wrapper.BoundEntry;
OcrEngine ocrEng = OcrEngine.LoadEngine();
ocrEng.AutoOrient = true;
ocrEng.Decolumnize = true;
ocrEng.OptimizationMode = OcrOptimizationMode.Accuracy;
ocrEng.Run(di);
Thanks
Bala