Definition and Usage
Delete file command removes a specified file from the file system. This action permanently removes the target file from the designated location.
Parameter Values
Input parameters
Parameter | Description | Possible Values | Required | Options / Notes |
File path | Enter a file path, or choose a variable containing a file path | Any valid file path | Yes | You can click the "Select file" button to browse and select a file |
Error handling
Parameter Name | Description |
Throw error & stop | When an error occurs, the action will trigger an error and stop the execution of the entire app. |
Retry command | If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process. |
Ignore error & continue | When an error occurs, the action will be ignored, and the workflow will continue without interruption. |
Variables produced
This action doesn't produce any variables.
Using Variables in Conditions
You can use variables in the File path parameter by clicking the {x} icon. This allows you to dynamically specify which file to delete based on variables defined earlier in your workflow.
Notes
Before using this command, ensure that the file exists at the specified location.
The file path must be valid and accessible with proper permissions.
This action permanently deletes the file; deletion cannot be undone.
If the file is in use by another process, the deletion may fail.
System files or files with special permissions may require elevated privileges to delete.