Help Centre › Building Processes
This article describes the RPA Document functionality to determine if document is of a certain type.
For a full list of available functions, please read DOCUMENT functions.
Description
The DOCUMENT Determine if document is of a certain type function allows you to determine if document is of a certain type.
Setting it up
To use the DOCUMENT Determine if document is of a certain type function, follow these instructions:
{{popups:rpas/add:action=document-is-type}}
Once on a process map:
- Navigate to the process where you would like to add the DOCUMENT Determine if document is of a certain type function
- Click on the green button’s drop-down (right side of the green button labelled “Process”)
- On the menu that appears, click on the “+ Activity” item
- From here you can select the DOCUMENT Determine if document is of a certain type option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| File | Yes | Text | - | The path to the document file |
| Variable | Yes | Text | - | Variable to store the result (true/false) |
| Document type | Yes | Select | - | The document type to test for (Invoice, Quote, Statement, etc.) |
Output variables
| Variable | Type | Description |
|---|---|---|
| Variable | Boolean | True if the document matches the specified type |
Errors
| Error | Description |
|---|---|
| File not found | The specified file does not exist |
Tips
- Tests if a document is of a specific type
- Available types: Bill of Lading, Cheque, Credit note, CV, Invoice, Purchase order, Quote, Statement, and more