I added a new stage in the workflow on my FlexiCapture project to try an image modification if one specific field is not recognised. The new step has one entry condition "Field value satisfies the expression" and the exit route is to Recognition.
This works, and the field is correctly recognised on some documents after the image modification.
But on certain documents we cannot recognise the field even after the image modification, so the problem is that I'm having a loop of this documents because they continuously go to the image modification step as the rule "Field value satisfies the expression" is always true on this documents. So they go to recognition again and again, in a forever loop.
How I can avoid this? I searched for a condition like "previuos step", but I did not found it.
How I can check the previous step to avoid documents go to the "image modification" step if the previous step is not "image modification"? Or how I can manage a counter of image modification tries so I could check "if counter is not > 0"?