PDF
Is Valid
3min
The Is Valid action verifies if a PDF is valid.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/kQYGkEL05y7kn0P4BQlHz_image.png?format=webp)
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:
- [ 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 Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/MVadv1nuwfx6ZDE3EYtrz_image.png?format=webp)
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.
Updated 01 Feb 2024
Did this page help you?