Expand my Community achievements bar.

How to get number of pages of an input document

Avatar

Former Community Member
Hi,



I've configured a watched folder to start my process. In the process I want to get the number of pages of the document that was passed to the process.



What would be the best way to implement this functionality (getDocAttribute, just returns the file length)



regards

Johannes
2 Replies

Avatar

Former Community Member
There is no attribute that holds that value. You would have to pass the doc to assembler and have it return to you the number of pages.