File Triggers

To Add a File Trigger:

  1. Open the Workbench and expand the Actions node and then the Triggers node. Right-click on the File Triggers node then click on Add File Trigger, as shown below.

Add File Trigger from Project Explorer in the Workbench

 

-OR-

 

Select the File Triggers node then click on the Add File Trigger button, shown below, in the Edit section of the Home ribbon in the Workbench.

 

Add File Trigger Button

  1. This opens the New File Trigger Properties, shown below.

New File Trigger Properties

 

Enter a name in the File Trigger Name text entry field.

General Tab

General Settings

Trigger Settings

Related Values Tab

Related Values Tab

 

You can enter up to 20 values.

 

Click on the Click to add Multiple Tags link to open the data browser to navigate to your selected tags.

 

Or, click on +Click here to add new item to add individual tags.

  1. Once you have completed your settings, click on Apply to save them and Close to return to the Workbench. Your configured File Trigger will now appear in the Project Explorer.

Note: For network folder locations the file trigger can potentially lose the connection to the remote resource and have no way to reconnect. If this occurs on your network, use the option "FileWatcherReconnectRateSec" under Platform Services Configuration, Point Managers tab, Trigger Point Manager.

This parameter sets the rate at which the connection should be dropped and reconnected. The default value is zero - the feature is turned off to keep the original connection and never drop/reconnect. If turned on, it will reconnect at the given rate even if the connection is local, and even if it is still a good connection. This feature should only be enabled when using network locations with file triggers, and only if absolutely necessary. With every reconnection, there is a small chance that a file system event will occur while reconnecting so it is best to reconnect as infrequently as possible.

 

 

See Also:

Triggers