Solved! Go to Solution.
Yes, you have it in the Route component. You will find it under Job Property/Job File/Minimum Bleed Distance. If you set this to look for a bleed distance more than 0 mm it will send all files that have a Bleed box that is larger than the Trim Box, to this branch.
This will save you one component in the workflow and you do not have to define a Preflight component.
About the "Job Property/Job File/Minimum Bleed Distance"
While true, its not really good enough.
There are files with bleed but without bleed box, so if there is only one check and it looks for the bleed box, that will generate too many false results.
It compares trim and bleed boxes. I assumed that the bleed box must be defined with correct value. you can modify the script to compare between any others boxes. But I can not understand why the bleed box is not set with the same size than crop box in the pdf file you mentioned without bleed box defined with a valid value. Can you share and example?
Yeah I used the same check too now, but also added some other ones, like a minimum distance between trim and media boxes.
We get lots of files with no defined bleed box. Why? I have no idea.
Pretty sure Illustrator for example should set it by default.
The postcard you attached has the correct bleed box. So it will be routed to the branch with bleed defined. Remember you can set the preflight as "is true" or "is not true".
I tested the postcard in my workflow and it works properly detecting the bleed.
Interesting, indeed this file does show bleed box in Crop Pages dialogue.
I pretty much never use it, instead using the PitStop plugin for Acrobat, and that for some reason shows that there is no bleed box, in the same file.
Anyway, the problem of detecting bleed is solved for the most part.