If any content in a particular page is not NULL then I want output result as "Form Passed" in Block Element. Please suggest how to hardcode it.
Set Default Value in Block Output
Was this article helpful?
0 out of 0 found this helpful
If any content in a particular page is not NULL then I want output result as "Form Passed" in Block Element. Please suggest how to hardcode it.
0 out of 0 found this helpful
Comments
4 comments
Can, someone from Abbyy Team help on this issue asap.
Hello Umesh,
Please try to adjust the following script according to your needs:
In this case, if the StaticText element is not null, the block will be based on the region of the StaticText2 element.
If you would like to define the exact value for the field, it is possible only via the workflow in FlexiCapture:
https://support.abbyy.com/hc/en-us/articles/4425758674323-FlexiLayout-Studio-Is-it-possible-to-set-a-default-value-for-a-block-or-a-character-string
Kind regards,
Dmytro
Hi Dmytro,
if searchelements.statictext.is not null Only then a specific value should be shown in Block Element. e.g. If Purchase word is found on Purchase order then I need result as "Ordered" in Block Element.
Dear Umesh,
This is the task for the scripted workflow stage to check the value of the found element.
In the FlexiLayout we operate regions for the blocks but not values. Please create a custom scripted stage or a custom rule for the field based on your condition.
https://support.abbyy.com/hc/en-us/articles/4425758674323-FlexiLayout-Studio-Is-it-possible-to-set-a-default-value-for-a-block-or-a-character-string
or
https://help.abbyy.com/en-us/flexicapture/12/distributed_administrator/rule_script/
Kind regards,
Dmytro
Please sign in to leave a comment.