FILE Delete a file function

The FILE Delete a file function in RPA.

Help CentreBuilding Processes

This article describes the RPA File functionality to delete a file.

For a full list of available functions, please read FILE functions.


Description

The FILE Delete a file function allows you to delete a file.


Setting it up

To use the FILE Delete a file function, follow these instructions:

{{popups:rpas/add:action=file-remove}}

Once on a process map:

  1. Navigate to the process where you would like to add the FILE Delete a file function
  2. Click on the green button’s drop-down (right side of the green button labelled “Process”)
  3. On the menu that appears, click on the “+ Activity” item
  4. From here you can select the FILE Delete a file option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
File pathYesTextFull path to the file to delete.

Output variables

This action does not produce any output variables.


Errors

ErrorDescription
File not foundThe specified file does not exist.
File in useThe file is locked by another application.

Tips

  • Close the file before attempting to delete it.
  • This action permanently deletes the file – it does not go to the recycle bin.

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.