cancel
Showing results for 
Search instead for 
Did you mean: 

StoreNewUnindexedDocument in EP5

John_Goebel
Champ on-the-rise
Champ on-the-rise

Hi,

 

We have an app that saves an unindexed document to an existing scan queue.  In v 18, this method took two parameters:  PageData and StoreNewUnindexedDocumentProperties.  With EP5, it requires a 3rd parameter - transitionBatch (boolean) - which is set to false. 

In v18, the app saves the unindexed doc to OnBase and then deletes the source document from the file system - no errors occur.

In EP5, the app saves the unindexed doc to OnBase, but generates a System.IO error when attempting to delete the source doc from the file system:  System.IO.IOException: The process cannot access the file <filepath> because it is being used by another process

How can I close all OnBase processes to the file after saving the unindexed doc to OnBase, so the file can be deleted?

0 REPLIES 0
Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.