VERIFIED SOLUTION i

How to configure EngageOne batch processing termination threshold level

Error handling for non-accumulated batch only

Error occurrences for non-accumulated batch are handled as follows:
• If the errors are at the document level, the program will still continue until the threshold that is defined in the configuration framework file is reached – see “Batch threshold settings” in the EngageOne Administration Guide.
• If the error is non-document level, the batch process will fail.
• If there are errors in the first step, a log file containing the error information and resource (answer file, etc.) will be copied to the error directory (<install dir>/EngageOne/server/batch/work/error).
• When there is an error in composition, DCA produces an incident archive.
• The log file will contain all information including the errors.
• An Event Monitor NaBatchJobFailedEvent is sent only when the batch job failed.
• Standard logging (commons-logging) to a file will be used to track events and errors in the application.

Error handling (accumulated and non-accumulated batch)

The following details are applicable to both accumulated batch and non-accumulated batch programs:
• Any composition errors are reported to the log file and an incident archive, which are located at <active-drive>/incident-archive/dca.
• If the errors are at the document level, the program will still continue until the threshold is reached. This is defined in the configuration framework file – see “Batch threshold settings” in the EngageOne Administration Guide.

Batch threshold settings

The threshold level is the limit where a running batch will terminate, if the number of processed documents that have errors has been reached.
Following are occurrences of the threshold configuration in the config-settings.xml file for accumulated batch and non-accumulated batch. The setting has a default value of zero. The setting in the non-accumulated batch refers to the value in the batch namespace. It can be changed as well.

Accumulated batch example
<key>document.error.level</key>
<value>0</value>

Non-accumulated batch example
<key>document.error.level</key>
<value>${com.pb.engageone.batch[document.error.level]}</value>
UPDATED:  August 2, 2017