I was Just trying to run Document Understanding code for 2 different dummy invoices placed in a single input folder. I am retrieving the file paths with Directory.getfiles() and using a Parallel for each to digitize, Classify and Extract. Presenting the Validation task in Action center. Earlier I have been doing the same and it would work fine. The process would run for both the documents place them in Action center for validation and go on suspended mode. Now it seems that the Parallel for each is running on both the invoices at the same time, digitizing and classifying them at the same time, Hence when it tries to create an validation action in Action is gives the below error when it reaches create validation action activity.
Source: Create Document Validation Action
Message: The automatically determined extracted results references do not match the Document Object Model. They may have been created using a different Document Object Model.
Exception Type: UiPath.DocumentUnderstanding.Persistence.OrchestratorException
RemoteException wrapping UiPath.DocumentUnderstanding.Persistence.OrchestratorException: The automatically determined extracted results references do not match the Document Object Model. They may have been created using a different Document Object Model.
at UiPath.IntelligentOCR.Activities.BaseOrchestratorClientAsyncActivity.ThrowIfNeeded(Task task, Boolean suppressThrowException)
at UiPath.IntelligentOCR.Activities.BaseOrchestratorClientAsyncActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
I have enabled persistence support for the project and also installed UiPath.persistance.activities as well.
Not sure what am i doing wrong and if any one could help me on this it would be great.
Has the working/Functioning of the parallel for each changed with the new release?
Thanks and Regards,