Skip to content

File Deleted Event#

Screenshot showing a file deletion event in a system log.

This task, when initialized, subscribes to the file deleted event. The task outputs will be filled with the data received from the file driver.

Screenshot showing a file deletion event with details including "eventRawData" and a filename hint of "image35".

Inputs#

Name DataType Description
Activate any Enables the event listening

Note

Although the drawn Task box indicates the Activate input is of type any it will act based on the converted value to Boolean. The visual information will be fixed in a future version.

Outputs#

Name DataType Description
eventRawData any Triggered when an event occurs. Used to output the received data
timestamp DateTime Triggered when an event occurs. Used to output the time of occurrence
fileName String Triggered when an event occurs. Used to output the name of the deleted file
relativePath String Triggered when an event occurs. Used to output the relative path of the deleted file
fullPath String Triggered when an event occurs. Used to output the path of the deleted file
Success Boolean Triggered when the task is executed with success
Error Error Triggered when the task failed for some reason

Settings#

On the General tab, you have the usual settings and the following settings:

Name DataType Values Default Description
Auto Activate Boolean True If the event is automatically activated or if it is only activated by the activate input
Screenshot showing settings for file deleted event.

Behavior#

In this task you choose a driver when dropping it into the workflow (if you have more than one driver associated with the controller).

The task will become available (listening to the event(s)) on one of the following conditions:

  • Auto Activate setting is set to true
  • Activate input is fed with a true Boolean value (or compatible, like 1, true, t, yes, y)

Upon activation, when the file deleted event occurs every property associated with it will have its value emitted.

Remarks#

This task uses a specific structure of context-based data called zone. More information on this topic can be read in the Zones page.