Configuring the number of validation errors that BC will process before aborting transaction processing.

Configuring the number of validation errors that BC will process before aborting transaction processing.

book

Article ID: KB0091223

calendar_today

Updated On:

Products Versions
TIBCO BusinessConnect EDI Protocol Powered by Instream -
Not Applicable -

Description

Resolution:
When processing certain EDI files, you may get this type of error:

Error message:
Analysis halted after 101 error(s) (Limit for EntireDocument is 100) while processing Claim (Guid="  . .  ."). Large numbers of errors usually indicate that the same error is repeatedly encountered in multiple segments or transactions. Fix the repeating error and resubmit the test to obtain further results.

This is because the XEngine inside BC EDI will stop processing and interchange or transaction when a certain number of errors occur.  

To change this default behavior,  open up this file:

$BC_VERSION_HOME\protocols\edi\tpcl\config\XERegistry.xml

and  look for this section of XML:

        &ltCategory Name="ErrorLimit">
            &ltItem Name="EntireDocument"&gt10000</Item>
            &ltItem Name="Interchange"&gt10000</Item>
            &ltItem Name="Group"&gt10000</Item>
            &ltItem Name="Transaction"&gt100</Item>
        </Category>

This section of XML governs how many errors the XEngine will handle before it quits processing.  

You can change these values to suit your requirements.  Make sure to change these settings on all engines, and restart all engines for the settings to take effect.

Issue/Introduction

Configuring the number of validation errors that BC will process before aborting transaction processing.