Execution Filtering by User?
With thousands of files actions all day by many users, I believe it would be useful to be able to limit script execution for certain users, or at least pattern matching like the files/folders. We currently get around it by checking the script that is firing, but it there are thousands of unnecessary executions when one of our developers moves files around.
Filtering by user and/or process is now possible by prefixing your include/exclude pattern with ‘?’. This follows the same rules as file/directory filtering but the ‘?’ prefix indicates it is to be used for usernames and process names.
Please refer to Example #5 for more information: https://deventerprise.uservoice.com/knowledgebase/articles/196135-exclude-and-include-patterns
-
File/folder pattern matching is already available as part of the normal directory configuration. You can configure the same directory more than once, using filtering for the configuration you use when executing a script and no filtering for a second configuration if you still want all the logging. You can read more about filtering here: https://deventerprise.uservoice.com/knowledgebase/articles/196135-exclude-and-include-patterns
Checking the user in your custom script (using %user% as a parameter for example) is the correct solution. Having this additional level of filtering is outside the scope of the application so I think it's better that users customize the experience themselves without adding any additional complexity to Directory Monitor.