Setting a File System Trigger
The File System trigger is used to monitor one or more folders, and triggers a task based on files being added, removed, or modified. It can be set to watch all files in a folder or to watch for specific files. It can also watch for size thresholds of files or folders. An asterisk (*) or question mark (?) can be used as wildcard characters and a pipe symbol (|) can be used to separate multiple entries. Additional technical information about this trigger can be found here.
Open the File System properties dialog box per Setting Triggers.
In the General tab (shown above), enter the properties as follows:
In the Folder to
watch box, click the Open Folder
button , navigate to the folder you want to watch, and click OK.
Note: If you type a network location into this box, be sure the computer has read access to the folder and be sure the full location is specified (\\servername\sharename\folderpath\filename).
If you want AutoMate to search subfolders within the folder, select Watch subfolders.
If you need the file to be accessible before the task triggers, select Wait for file to be accessible before triggering. For example, if you are watching for a file to be added, and triggering a task to copy it to another location, use this to ensure the file is not still being modified when the task triggers.
Click the File Actions tab (illustrated above) and select one or more of the following options:
File added: Activates the trigger when a file is added (default value).
File removed: Activates the trigger when a file is removed.
File modified: Activates the trigger when a file has been modified.
Number of files exceeds: Enter the number of files to be exceeded.
One file size exceeds: Enter the number of kilobytes a file should exceed in order to activate the trigger.
Folder size exceeds: Enter the number of kilobytes the folder itself should exceed.
If you want to enter masks to include or exclude specific file names, click the Filters tab (illustrated above), and make your entries according to the following guidelines:
Use either the Include mask or the Exclude mask box to enter all or part of the file names that you want to include or ignore. If you make entries in the Include mask box, all files that do not match your entries will be ignored. If you make entries in the Exclude mask box, only the specified files will be ignored and all others will be monitored according to the settings you entered in the File Actions tab.
Enter all or part of a file name only, or enter a path (to specify a sub-folder) and a file name. If you enter a file name only, it will be included or excluded in all sub-folders.
Use asterisk (*) or question mark (?) as wildcard characters. For example enter *log*.txt to specify all text files containing the word log.
Use a pipe symbol (|) to separate multiple entries in either box.
If you want the trigger to activate if the condition is met upon startup, click the Behavior tab and enable the option Trigger on startup if condition is true.
If you want the condition to be met more than once before the task is triggered, enable the option Trigger after the condition has been met and select the desired amount.
When you have finished entering all specifications, click OK.
All Available Triggers