Configure the workflow
1
Open the workflow properties
On the Project Setup Station, click Project → Project Properties to configure the Default batch type. To configure a particular batch type, click Project → Batch types → Edit instead.
2
Switch to the Advanced schema
On the Workflow tab of the Project Name Properties dialog box, change the workflow schema from Simple to Advanced.
3
Enable the web stations
On the same tab, select the verification stage and click Edit to open the Workflow Stage Properties dialog box. On the General tab, select Enable web stations, and then click OK.
4
Add an automatic stage
Return to the Workflow tab and click Stage to add a new stage. In the Create Processing Stage dialog box, select Automatic and click OK.Place the new stage so that it immediately follows the verification stage. The scenario does not work in any other position.
5
Name the stage
In the Workflow Stage Properties dialog box, provide a name for the new stage, make sure Wait for all documents of a batch is selected, and select Linked to previous.
6
Set the stage script
- On the Script tab, select Document processing from the Type drop-down list.
- Click Edit script and type the following code:
7
Add an entry condition
On the Entry Conditions tab, select Under these conditions and click Rule to specify when documents should be sent to the new stage.
8
Set the rule script
In the Rule Settings dialog box, provide a name for the rule in the Name field. From the Condition type drop-down list, select Script, click Script, and type the following code:This sets the entry condition for the new stage. A document arriving from the verification stage is admitted into the new stage and is given a
WasVerified registration parameter.9
Save the rule and the stage
Save the new rule and the new script stage.
