Delete File

Deletes a file, and reports whether one was there to delete.

Behaviour

Risk: High · Idempotent: Yes · Safe to retry: Yes · Recovery: Not replayed after a crash

Package System activities VeloPhex.System.Activities 0.7.1-rc.12 · Supported (Core profile) · type id velophex.system.deleteFile

Properties#

Input#

Path#

Path · String · Required · Default: Not specified in package metadata

The full path of the file to delete.

Fail If Missing#

FailIfMissing · Boolean · Optional · Default: False

Fail the step when no file is at the path. When false, a missing file completes with Deleted set to false.

Output#

Deleted#

Deleted · Boolean · Output

True when a file was found and deleted; false when the path was already empty.

Retry and risk#

This activity is safe to retry: running it again after a transient failure does not repeat a side effect. If a run is interrupted and the outcome of a step is unknown, the step is never retried automatically (what to do). How activities declare this: characteristics, retries and risk.

Every activity also has the engine's common properties: Timeout and Continue On Error.

Generated from VeloPhex.System.Activities 0.7.1-rc.12. Category: File System. Keywords: file, delete, remove, clean up.

Properties

Input

Output

Retry and risk

Related activities