Remove Folder Trigger
Removes a previously added folder trigger
Remove Folder Trigger [ Select ; Result (error) ; Folder path ]
|Select entire contents||replaces the entire contents of a field with the result. If not checked the result replaces the currently selected portion of the field|
|Result (error)||an error code|
|Folder path||the path of the folder of which you want to remove the monitoring|
Data type returned
The returned result is an error code. An error always starts with 2 dollars, followed by the error code. You should always check for errors. Returned error codes can be:
|$$-50||paramErr||there was an error with a parameter|
|$$-120||dirNFErr||the monitor folder could not be found|
Other errors may be returned.
Activator Plug-in 6.0
FileMaker Pro 16 to 19
When you leave the folderPath parameter empty all folder triggers will be removed.
Remove Folder Trigger [ Select ; Result: $ErrorCode ; Folder path: "/C:/incomingData/" ]
This will remove the folder trigger of the folder “/C:/incomingData/”.
Remove Folder Trigger [ $ErrorCode ; Folder path: "" ]
This will remove all the folder triggers.
Used in example file
Related script step
|Add Folder Trigger|