Check if File Exists
Object to check if the file exists in the given directory
Last updated
Object to check if the file exists in the given directory
Last updated
To use this object, simply drag it into Studio workspace and select the desired file.
Filling in the object:
Field | Description |
---|---|
Title | It's the object's name and doesn't need to be changed, unless you want to identify it to make it easier to find on the robot, for example: "Check if File Exists - Automated Archive". |
File | File to be checked. |
Check if it does not exist | Option to check if the file does not exist. |
INTERPOLATION
This is a technical concept used in programming and you don't need to worry about changing it at this point.
Use it to check whether a file exists in the directory or not.
If you first need to check the existence of the file to be able to do another type of automation on the robot.
Check if File Exists and if it exists, it will only execute actions within the object.
STEP 1: To set Check if File Exists object.
STEP 2: To set Message Boxes.
STEP 3: To set Return, making the robot not continue with its execution, as the verification was positive.
STEP 4: Run the robot and check the actions.