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
*.txtand*.doc, select Create document when Document Definition is applied.
2
Switch the workflow schema to Advanced
- Click Project → Project Properties and go to the Workflow tab.
- 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
- On the Workflow tab in the project properties window, click Stage.
- 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
- 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. - Clear the Wait for all documents of a batch option.
- Select the Linked to previous option.
6
Add the stage script
- Go to the Script tab of the same dialog window.
- Set the Type parameter to Document processing and click Edit script.
- Enter the following script:
7
Set the entry condition for the stage
- Go to the Entry Conditions tab and select Under these conditions.
- Click Rule.
- In the Rule Settings dialog box, enter the name of the rule in the Name field, for example
Previous stage was Verification. - Set the Condition type parameter to Script and click Script.
- Enter the following script:
WasVerified registration parameter, which later stages use to determine whether the document went through verification.8
Save the changes
Click OK.
