KNOWLEDGE BASE ARTICLE

Common Separation Issues

Why Is My Separation Rule Not Working?

There are 3 commonly misunderstood reason your document separation rule is not working.

1. The zone's Smart Seek rules are not applied when processing a separation rule.
Remember to allow for the entire zone's text content not just the text that a zone's Smart Seek regex is capturing. Smart Seek capture is ignored when processing a zone for separation rules.

2. You're not allowing for all the text in the separation zone
The separation rule is applied to the whole zone it does not just look for the text in your separation rule. You can kind of think of the separation rule as its own smart seek regex rule. For example, instead of your separation rule being:

TAX INVOICE

To allow for any possible text before and after the word(s) you are looking for to triggering a separation, your separation rule should be something like this 

REGEX([\s\S]*TAX\s+INVOICE[\s\S]*)

3. OCR separation is triggered when there's no value in the zone
If you have enabled the separation rule to "Separate when the value is different to the previous page" then be aware that an empty zone will trigger a separation. This is because a an empty zone is a change if the previous page contained text in your zone. This logic applies to barcodes as well as OCR zones.


Link to this article http://umango.com/KB?article=130