Retrieve PDF Page Count

You can select this activity to retrieve page count of a PDF document.

This table lists the properties for the activity.

Property Type Property Name Data Type Description
Common Continue on error Boolean The option to continue the RPA flow even if the activity fails. This check box is selected by default.
Input File Path String The location of the PDF document from which the page count must be retrieved. For example, R:\RPA\test.pdf
Misc DisplayName String The name to be displayed for the activity.
Output Pages Int32 The number of pages in the PDF that must be retrieved. You must create a variable to store the page count value.
Response Code Int32 Response code for the activity. Possible values:
  • 200 to 290: Indicates a successful response or valid output.
  • 400 to 499: Indicates client error responses.
  • 500 to 599: Indicates server error responses.
Note: You must create and specify the int32 variable to view the response code.