is there a solution for that? Would be quite handy. E.g. depending on the input filename processing of a subset (like first 10 records) for a review/release process.
Currently we change the background/layout in Designer depending on the input filename, adding the preprinted background for customer review. The output pdf has all records, but for reviewing the first 10 would be sufficient, so need to delete unnecesary content before sending the doc to review.
The data file contains records that are ordered by State. for the sake of this example, we only want to extract records whose State == “CA”.
So the configuration examines the value of the State field: if it is less than “CA” (i.e., it comes before “CA” in alphabetical order), then the process simply skips to the next record.
Once it finds CA records, it extracts them.
Then, as soon as it hits the next record that is not equal to “CA”, it stops processing the remaining records.
As for that extra record you are getting with your config, I believe it is due to an issue we fixed in version 2022.2 (the Stop DM action always created one additional record).