AOATAM99000-9.0-Automic-One Automation Tools-Application Manager
Automic Workload Automation
Symptoms
When using a File Event object that uses the PATH_FILE_COUNT upon execution the following error is received:
U0020374 Runtime error in object ''%'',line '00002': Event type is not 'Console'
Cause
When using the PATH_FILE_COUNT in a File Event it must also utilize either FILE_CHANGED or FILE_STABLE as well:
Note that the keys listed in the "FileSystem" column can only be used in FileSystem Events with the setting "Check" equals "FILE_SIZE" or "empty" (with or without a combination of "FILE_STABLE" or "FILE_CHANGED") and "PATH_FILE_COUNT" (only in combination with "FILE_STABLE" or "FILE_CHANGED").
Resolution
Addition of either FILE_CHANGED or FILE_STABLE should resolve this issue.