Skip to main content
A combined workflow needs a custom script stage that runs after verification. That stage marks each document with a registration parameter recording whether the document passed through verification. Set up the processing settings for a specific batch type, by clicking Project → Batch types → Edit, or for the default batch type, by clicking Project → Project Properties.

Configure document processing

1

Choose how documents are created

On the Image Processing tab, use one of the following ways:
  • To process image files, select Create document for each image file.
  • To process files in document formats such as *.txt and *.doc, select Create document when Document Definition is applied.
2

Switch the workflow schema to Advanced

  1. Click Project → Project Properties and go to the Workflow tab.
  2. Set the Schema parameter to Advanced.
3

Enable web stations for the verification stage

Select the Verification stage, select Enable web stations on the General tab, and then click OK.
4

Add a new processing stage

  1. On the Workflow tab in the project properties window, click Stage.
  2. In the Create Processing Stage window, select the Automatic base setting and click OK.
5

Name the stage and link it to the previous one

  1. On the General tab in the Workflow Stage Properties dialog window, enter the name for the custom script stage, for example Post Verification Script Stage.
  2. Clear the Wait for all documents of a batch option.
  3. Select the Linked to previous option.
6

Add the stage script

  1. Go to the Script tab of the same dialog window.
  2. Set the Type parameter to Document processing and click Edit script.
  3. Enter the following script:
This script adds a registration parameter to the document that indicates whether the document was in the verification stage.
7

Set the entry condition for the stage

  1. Go to the Entry Conditions tab and select Under these conditions.
  2. Click Rule.
  3. In the Rule Settings dialog box, enter the name of the rule in the Name field, for example Previous stage was Verification.
  4. Set the Condition type parameter to Script and click Script.
  5. Enter the following script:
This script determines the condition for entering the stage. When the previous stage was verification, the document gets the WasVerified registration parameter, which later stages use to determine whether the document went through verification.
8

Save the changes

Click OK.