CreateDocuments (deprecated)

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. This action has been deprecated and is scheduled to be removed in a future release. It is recommended that you no longer use this action. Instead, use the CreateDocuments action in the ApplicationObjects action library.

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: The CreateDocuments () cannot be run more than once on an existing document structure. If it has to be called more than once, then call RemoveDocumentStructure action prior to calling the CreateDocument ().
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()