Stage rule

What it does

This script is used to determine whether the document can be routed to a certain stage. Applies in rule settings in the Advanced mode of the Workflow setup.

If an error occurs during the script execution, the document will be sent to the Exceptions stage.

Parameters

Name Type Access Description
Document IDocument Read-only The document for which the check is carried out
Result IRoutingRuleResult Read/write The result of the rule execution

Procedures that you wish to use in more than one rule should be written to the global rule module, which can be accessed from the script editor. From the drop-down list on the toolbar of the script editor, select NonInteractiveProcessor.

If classes and methods of an external assembly are used in the script or global module, the assembly file must be attached on the .Net References tab of the batch type properties (for a particular batch type) or project properties (for the Default batch type).

When a task is completed at the current stage the system determines what will be the next stage for this task. For this purpose the system estimates input conditions for further stages, for example, input scripting rules.

4/12/2024 6:16:02 PM

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.