Community

Stop recognizing

After uploading a batch and recognizing the documents, for example, the batch included an Invoice, Packing List, CMR, CMR is it possible to make the recognition process stop and the task close when a specific document is recognized again? 

Batches in which there is a document definition under the name "CMR" ((სატრანსპორტო ზედნადები)) more than once, the batch should not be recognized further.If possible, stop during recognition process.Since there may be 10-20 documents in the application and so that it does not recognize everything until the end, but in the middle, if it has already been recognized, then end the process there

Was this article helpful?

0 out of 0 found this helpful

Comments

1 comment

  • Avatar
    Dmytro Bezus

    Hello Vladimer,

    The only way to affect the recognition is the "Before Matching" event handler. The following script will push documents as unknown:

    Matching.DefinitionsList = ""; 
    Matching.ForceMatch = true;

    Possibly you can combine the classification script and check the results in this event handler with "Document.Pages[PageIndex].ReferenceClassName" method.

    0

Please sign in to leave a comment.