Hi,
I just simply encounter an error message----"Rule error" in my script.
What is the possibility of showing this error?
Without knowing that,I have no way to fix it.
Can anyone advice?
Thanks
Hi,
I just simply encounter an error message----"Rule error" in my script.
What is the possibility of showing this error?
Without knowing that,I have no way to fix it.
Can anyone advice?
Thanks
0 out of 0 found this helpful
Comments
2 comments
Hello,
As we can see from your screenshot, there is a Rule "CheckEachLineBalance" and the error comes from this Rule.
You can open the corresponding Document Definition in the Document Definition Editor and add some debugging information in the output, for example by:
- specifying the IRuleContext::ErrorMessage text
- showing some text with the help of FCTools.ShowMessage() method
Please see the Help articles
http://help.abbyy.com/en-us/flexicapture/12/developer/irulecontext
http://help.abbyy.com/en-us/flexicapture/12/developer/iexportimagetools
If you specify the different messages for different situations in script logic, you will better understand why the Rule error happens,
Hello,
In fact i used Context.ErrorMessage but it doesnt show up the error epected.
And I tried to use FCTools.ShowMessage, but it was inside a for-loop and it pops up a lot.
Thanks for suggestion at least I have way to fix my issue.
Thanks
Please sign in to leave a comment.