Script rule error: No field with name '%NAME%' at ABBYY.FlexiCapture.IRuleContext.Field

Symptoms

No field with name '"%NAME%' at ABBYY.FlexiCapture.IRuleContext.Field error is shown after document recognition:

image001.jpg

Cause

This error indicates that no field with a particular name was found for the Script Rule. In this case, the invalid Alias Name of the Field Country defined in the script is 'VendorCountry'.

 

Image_013.png

 

An Alias Name is a custom name of the field that should be used in the script as a reference to this field. This allows not to have to rewrite a script if a field's name has been changed during processing. The script will refer to the particular name specified in the Alias Name column. It could be set while creating the rule or edited in the Rule Settings:

 

Image_011.png

Image_012.png

 

Resolution

Please make sure that the Alias Name for the Field in Rule Settings corresponds to the name used in the script.

 

Image_014.png

 

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.