File Change Trigger
Waits for a file or folder under a path to be created, changed, deleted or renamed.
Behaviour
Risk: None · 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.fileChangeTrigger
Properties#
Input#
Path#
Path · String · Required · Default: Not specified in package metadata
The folder to watch.
File Name#
FileName · String · Optional · Default: Not specified in package metadata
Which names to watch, with * and ? wildcards. Empty: every file.
Change Type#
ChangeType · String · Optional · Default: Created
Which changes fire: Created, Deleted, Changed, Renamed, All, or several joined by commas (Created,Renamed).
Allowed values: Created, Deleted, Changed, Renamed, All.
Include Subdirectories#
IncludeSubdirectories · Boolean · Optional · Default: False
Also watch every folder under Path.
Output#
File Path#
FilePath · String · Output
The full path of what changed (the new path of a rename).
Change#
Change · String · Output
Created, Deleted, Changed or Renamed.
Old File Path#
OldFilePath · String · Output
The path before a rename; empty for other changes.
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: Triggers. Keywords: trigger, file, watch, monitor, change, created, deleted, renamed, folder.
Properties
Input
Output
Retry and risk