How to set Documents that were matched with specified Document Definition to not be exported and moved to the Processed stage directly?

Question

Is it possible to set the Documents matched with one of the Document Definitions to not be exported and moved directly to the Processed stage?

Answer

In order not to export Documents matched with a certain Document Definition, you can skip the unnecessary workflow stages using scripting:

  1. In Project Properties choose the Advanced workflow schema and edit a Recognition stage:

  2. Go to the Exit Routes tab of the Recognition stage properties and add a new route to the Processed stage to it:


  3. Add a new Rule to this stage, choose Script as a condition type, and use the following script.
    * Please change the "Unknown Document" in the provided script to your actual Document Definition name.

    if (Document.DefinitionName == "Unknown Document") {
        Result.CheckSucceeded = true;
    }
  4. Save the changes and test them. The batch with the documents should go straight to the Processed stage after the Recognition, skipping the rest of the stages, including Export:

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.