I was wondering if there is a way, perhaps through a script, to completely stop pages from being processed after a Document Definition has been found. We are receiving files from third parties that contain anywhere from 30-100 pages each, but we only need to extract data off of two or three of these pages as a single document. These pages are usually toward the beginning of the file (but not always), so when this does happen, all of the excess pages in the file are still being processed and using up our page count for our license.
I was looking into using footers in our layout and enabling annex pages until I read in another forum post that annex pages still consume a page license as they are considered to be processed pages. Is there anything we can do to dynamically stop processing pages when we've found the ones we need so we can cut back on our license usage? I'm not sure if this is possible or not due to how everything runs, but any help would be appreciated.