Page 1 of 1

Check PDF for multi-page or single

Posted: Wed Sep 23, 2015 4:35 pm
by wallact
I'm building a switch flow that checks the incoming PDF to see if it's a multi-page PDF or a single page PDF. Depending on what is determined, each type will travel down their own workflow paths for individual processing. How do I examine the incoming PDF to see which type it is?

Re: Check PDF for multi-page or single

Posted: Wed Sep 23, 2015 6:54 pm
by lombert
Make a folder with two connections. The first set "Include these jobs" to "Define condition with variables" "[Stats.NumberOfPage] Equal to '1' " and the other connection to "Define condition with variables" "[Stats.NumberOfPage] Greater than '1' " or make the second "All other jobs".