File System Watcher

Operating Principles

The File System Watcher monitors a specific directory, and checks for changed files in an interval, which can be configured over the Timer event. A workflow is started for every added/changed/deleted file detected. When configuring the table watcher, the directory which should be watched is required. 

Configuration

To configure the file system watcher, you first need to set a Timer event as Start event. In the timer event configuration, you can now select the FileSystemWatcher under the Custom Check Routine. For the Event type, you can either choose AddedUpdated, or Deleted depending on the operation which should be watched. 

file-system-watcher-2017-12-20-1

After that, the input parameters need to be configured. Select a business entity and click the Routine parameter button to open the dialog. If you would like to use a variable for the path, you now have all fields of the previously selected business entity available. But the path of the directory which should be watched can also be entered manually. In the configuration, you can also choose whether the file should be deleted after processing or not. If needed, the file can also be stored to a workflow variable for further process in the workflow.

exchange-mail-watcher-2017-12-20-1

file-system-watcher-2017-12-20-2

Confirm the configuration with clicking OK. Back in the Start event dialog, click OK once more and the file system watcher has been configured successfully.