Using wildcard in file event path causes file event to fail with:
U00011700 Cannot find information for path 'C:\Automic\Automation.Platform\Agents\windows\temp\*.txt'.
This issue can also be seen when checking a file using a workflow precondition on a windows agent without a wildcard.
Message in the Windows agent log file:
U00065008 Error occurred in event '1980299' at retrieving file system information for path 'C:\Automic\Automation.Platform\Agents\windows\temp\*.txt', reason: '123 - The filename, directory name, or volume label syntax is incorrect. >Attributes.cpp#sys::Attributes::readBasicFileAttributes:667<'.
Release : 12.3.8, 21.0.1 and 21.0.2
Component : Automation Engine - Windows agent
Defect
This has been fixed with 21.0.3 and will be fixed in 12.3.9
As a workaround, use older versions of windows agent, i.e. 12.3.7 or lower. For v21 use 21.0.0 or 21.0.3