This activity allows you to count the number of pages in a PDF file and return the number of pages to a variable.
PDF file path
- Set a value option allows you to manually specify the path to the target PDF file. Click the "PICK" button to open the file explorer and pick the required directory.
- Calculate a value option allows you to use a special formula or a special method to determine the path.
- Save the previous step result option takes the result of the previous workflow activity as the path.
Along with this action, the "Save value to variable pdf_page_count" block is automatically created. Thus, number of pages in PDF is saved in the variable pdf_page_count.