Server script events
During server processing for a single batch, the tasks are carried out according to the following figure:

-
All events occurring in a single task are executed in a single process.
-
You can distribute different tasks across different processes. This means that no shared information is available in different processes.
-
Depending on use and configuration, some tasks are optional or distributed between the two Server instances.
-
Batch Processing - The Server module fires the standard Application and Batch events to enable a customized batch handling that are distributed differently due to the parallelization of processed batches and their sub tasks.
-
Document Separation - If activated, document separation is performed as a preparation step of the batch. There are two separation algorithms available. One is based on image classification and is called Standard Document Separation. The other uses advanced algorithms for document separation and is called Trainable Document Separation. The separation events are placed in the project script sheet.
-
Document Processing - You can divide document processing into several substeps:
Classification - Classification is the first step in document processing and can be treated independently from extraction, although the extraction results are used for classifying documents in a later step. All classification events are placed in the project script sheet.
Extraction - The main purpose of this processing step is to recognize and extract relevant items on a document. There are different types of extraction events for the document, the fields, or a script locator. All events related to extraction events are placed in the corresponding class script.
Validation and validation methods - The main purpose of the validation processing step is to prove the validity of the field extraction result. This is done by built-in validation methods or customized single or multiple field script validation methods. The events of the scripted validation methods are placed in the project script sheet.
-
Foldering - If folders are enabled, foldering is executed after all documents are extracted and validated. The events of foldering are placed in the same script sheet as the root folder object.
Folder Extraction and Validation Events - After executing the foldering events the extraction and validation events of the folders are executed. These events are placed in the corresponding script sheet of the folder object.