LEI not picking up few documents but no error log

Hi Team,

We have a LEI scheduled to run daily to update Notes data into DB2 table, with our search criteria it updates 5k document daily however its missing 100 documents, but no error in the LEI Log.

However selection criteria is matching for all the doc, hence we modified selection criteria to pick only that particular document however its not picking up the missed one, don’t know what could be the issue.

Can anyone please advise, Thanks

Thanks

Ramesh

Subject: The Issue is fixed and thanks for your help

Hi Barry Shapiro,

As you have advised I have verified Read access in the missing documents however it was same and again I verified the document count with the same Search criteria,there i found the mismatch,actually the LEI runs on the replica copy of the Original database,both actual and replica has had different document counts and that’s where the mismatch in LEI count,hence I fixed the issue in the database replica and its working fine now.

Many thanks for your immediate response/solutions,this forum is really helpful to the LN developers and giving us confident,Thank You :slight_smile:

Subject: Question

Is there reader access on the docs that the lei job cant access? does the search return the same number of docs when you run it mnualy vs the lei job? Put some print debugging into the code to solve the issue