Alarm for dirscan not showing file name or directory variables correctly

Document ID : KB000067511
Last Modified Date : 25/05/2018
Show Technical Document Details
Question:
When using a pattern match for files and or directories an alarm is sent,  The $file and $directory sends the pattern and not a listing of the file names or directories.
how can I correct this?
Environment:
UIM 9.0 and earlier
dirscan 3.15 and earlier
Answer:
This is by design.

When using pattern matching with dirscan, the $file and $directory will send the pattern and not a list of file(s) or directory(s)
as it will when not using pattern matching.