Skip to main content
The attended service scenario needs an Advanced workflow with an automatic script stage that runs after verification. That stage marks each document with a registration parameter recording whether the document passed through verification. Configure the workflow for the Default batch type or for each batch type separately.

Configure the workflow

1

Open the batch type properties

On the Project Setup Station, use one of the following ways:
  • For the Default batch type, click Project → Project Properties.
  • For a specific batch type, click Project → Batch types → Edit.
2

Switch the workflow schema to Advanced

On the Workflow tab of the Project Name Properties dialog box, change the Schema from Simple to Advanced.
3

Enable web stations for the verification stage

  1. On the same tab, select the verification stage and click Edit to open the Workflow Stage Properties dialog box.
  2. On the General tab, select Enable web stations.
  3. Click OK to save the changes.
4

Add a new processing stage

  1. Return to the Workflow tab in the Project Name Properties dialog box.
  2. Click Stage to add a new stage.
  3. In the Create Processing Stage dialog box, select Automatic and click OK.
The new script stage must immediately follow the verification stage.
5

Name the stage and link it to the previous one

In the Workflow Stage Properties dialog box, provide a name for the new stage, make sure that Wait for all documents of a batch is selected, and select Linked to previous.
6

Add the stage script

  1. On the Script tab, select Document processing from the Type drop-down list.
  2. Click Edit script and type in the following script code:
This script adds a registration parameter to each processed document that indicates whether the document has gone through the verification stage.
7

Set the entry condition for the stage

  1. On the Entry Conditions tab, select Under these conditions and click Rule to specify when documents are sent to the new stage.
  2. In the Rule Settings dialog box, provide a name for the new rule in the Name field.
  3. Select Script from the Condition type drop-down list, click Script, and type in the following script code:
A document that arrives from the verification stage is admitted into the new stage and receives the WasVerified registration parameter.
8

Save the rule and the stage

Save the newly configured rule and the new script stage.