Delete File

Description

The Delete File action deletes a file (empty or not).

Options

Option Description

Action name

The name of the workflow action.

File name

The name and path of the file to delete.

Fail if file doesn’t exist

The workflow action will follow the failure outgoing hop when the file to be deleted does not exist anymore and this option is switched on. The default is off.

Result

What this action passes on to the next action. See Action results for how results travel through a workflow.

Result Value

True

The file was deleted, or it doesn’t exist and Fail if file doesn’t exist is not selected. An empty folder is deleted too.

False

The file doesn’t exist and Fail if file doesn’t exist is selected, or no file name is set: the number of errors is 0. The file could not be deleted, for example because of missing permissions or because it is a folder that is not empty: the number of errors is 1.

Result files

Passed on unchanged.

Result rows

Passed on unchanged.