Output to PDF after barcode reader

Hi

I have a job where I take in a PDF and do a Barcodescan on the PDF. From this I determine which pages I want in a script and update the metadata to flag the records needed. Is it possible to then create a new PDF with just the flagged pages?

I can see the metadata filter so I ca filter out the metadata but can’t see how I can then just output the pages that are flagged. So here is my workflow

Hi,
as you update metadata within your script, then you filter them, you can add Create PDF just after.
This will recreate the PDF file with flagged pages.
I hope this will help you.