Skip to main content

Delete File Action

Delete File Action deletes the specified file(s). It removes files from the file system and optionally stores the path(s) of the deleted file(s) in a variable for reference.

Appearance

In Talos, Delete File Action appears as a standard rectangular node with a file and an x icon inside it.

Delete File Icon

Properties

As all Actions, Delete File Action has a few unique properties that are essential for its functionality.

Common properties

Common properties inherited from Action.

Display NameString
This is the display name of the action.

By customizing this property, you can differentiate between same type of actions.

Action IDString
Indicates the unique ID of this action.

This property is Read only and it is not customizable

DisabledBoolean
If set to true, this action is considered disabled and will not be executed.
File(s) to deleteExpression
The file(s) to be deleted.

See more about Talos Scripting language & Expressions

tip

This property supports expressions. You can use variable references to dynamically resolve the file path(s) at runtime.

Examples

Assuming a declared String variable with name filePath and a List variable fileList.

${filePath}
${fileList}
"C:/temp/old_report.pdf"
Deleted Files VariableVariable
Variable to hold the path(s) of the deleted file(s).