U0020374 Runtime error in object '%', line '00002': Event type is not 'Console'

Document ID : KB000089231
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
U0020374 Runtime error in object '%', line '00002': Event type is not 'Console'
Resolution:

Symptoms

When using a File Event object that uses the PATH_FILE_COUNT upon execution you receive the following error:

  

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.