Question
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
Answer
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);
}
Additional Information
For more information check Online Help: IRuleError
Comments
0 comments
Please sign in to leave a comment.