Delete File
Delete File action found under the @Generic Element is used to delete the file located at the path specified in the input and store the result in an output variable.
Syntax
Input: <file_path>;<file_name.extn>
Output: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)

Usecase/Example

Scenario
You want to download the employee attendance reports each month and saves them temporarily on their computer. Once you have reviewed and saved the information in their main records, they don’t need these temporary files anymore. Using the “Delete File” action in Avo Assure, you can automatically delete these reports from a specified folder to keep your computer organized and prevent confusion with old files.
Input
Provide the input values as below:
C:\Data Folder;Reports_2023.xls
Expected Result
It should delete the “Reports_2023.xls” file from the given location.
Output
The Delete Folder action delete the folder(“Reports_2023.xls”) and save its result in the {result} output variable as “True”. This output can be used for display or other purposes.
Last updated
Was this helpful?