We're wanting to capture any rule breaks that cause an invoice to go to verification station and save this data to the DB for reporting purposes
Apply the following approach:
- In Project Setup Station > Project > Project Properties > Advanced Workflow create a custom script stage (Document Processing type) right after Recognition stage:
- Use the sample code:
foreach (IRuleError re in Document.RuleErrors)
Processing.ReportMessage(re.RuleName + " " + re.Message);
For more information check Online Help: IRuleError
Please sign in to leave a comment.