PDF

Is Valid

3min

The Is Valid action verifies if a PDF is valid.

Document image


How to configure the Is Valid action?

1. Create a process and give it a name.

2. Drag the Is Valid action to the canvas and link it to the other actions.

3. Create the variables needed for the configuration of the action, and then add them to the configuration panel:

Inputs & Outputs

  • [ I ] Pdf file: File representing the input pdf file.
  • [ O ] Validation output: Boolean representing if the pdf is valid or not.
  • [ O ] Validation reason: String representing the error if the validation failed.
Document image


4. Save, Validate and Run the process.

5. You will be prompted to add the file for the input variable. Drag or upload the file and click Run.

6. To verify the process click Check Instances.

7. In the output section you will see if the pdf is valid and if not also the validation reason.