CreateDocuments

Arranges the contents of a task's Page file (for example, Recognition.xml) into documents based on the Document Integrity rules (min, max and order) specified in your application's Document Hierarchy, and assembles documents from the pages in the batch.

Syntax

bool CreateDocuments ()

Parameters

Smart parameters are supported.

Returns

True if successful. Otherwise, False.

Level

Batch level only.

Details

Arranges the contents of a task's Page file (for example, Recognition.xml) into documents based on the Document Integrity rules for min, max, and order properties specified in your application's Document Hierarchy, and assembles documents from the pages in the batch.

Batches containing existing document structures will cause this action to return False, with no affect to the existing document structure.

Note: During document creation, temporary IDs are assigned (with a different format than real Document IDs), and if the action fails, these temporary IDs remain.
Important: This action is applied at the Batch level, and generally in its own Ruleset (in a CreateDocs ruleset, for example.)
Example:
CreateDocuments()