Server script events

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


A visual representation of the Server batch processing tasks.
  • All events occurring in a single task are executed in a single process.

  • Different tasks can be distributed across different processes and therefore no shared information is available in different processes.

  • Dependent on usage 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 - the document processing can be divided into several substeps:

    Classification - Classification is the first step in document processing and can be treated independently from extraction although the extraction results can be used for classifying documents accordingly 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 either the document, the fields, or a script locator. All events related to the 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 content. This can be done either by built-in validation methods or customized scripted single or multiple field validation methods. The events of the scripted validation methods are placed in the project script sheet.

  • Foldering - If foldering is enabled, the foldering is executed after all documents are extracted and validated. The events of foldering are placed in script sheet of 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.