Skip to main content
Document and batch processing scripts change the structure of a document or a batch. They can also set a custom order for the sections in a document, or for the documents in a batch. Processing scripts can be added when creating a custom stage in the Advanced mode of the Workflow setup. Both scripts are used to process multiple documents and have the possibility to log the processing progress.

Document processing script

All documents to be processed are passed to this script in turn.

Parameters

If the task is cancelled, the processing status changes to false, as it would when using the IProcessingCallback.ReportError method.

Batch processing script

The input parameters of the script are a batch and a set of documents in it to be processed. The iteration over documents is implemented by the user. The advantage of the batch processing script is that the methods, which can change the batch structure, are available in it. These methods make it possible to move or delete documents and pages.

Parameters

* The internal field requires loading the object into memory.