Create Monitor to watch for filename yyyymmdd.csv
Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
2 posts
Page 1 of 1
I am trying to create my first Monitor using GoAnywhere Director 4.6.1. I would like to monitor a directory for the filename yyyymmdd.csv using today's date. When I enter ${CurrentDate('MMddyyyy')}.csv as my File Name Pattern, it does not recognize this as a variable. How can I get this to monitor for this file name and then launch a project when found?
Thanks,
Drew
Thanks,
Drew
- Support Specialist
- Posts: 590
- Joined: Tue Jul 17, 2012 2:12 pm
- Location: Phoenix, AZ
-
Drew,
The monitor is designed to look for generic file patterns. The variables defined inside of your Project Workflows do not work inside the Monitor file patterns.
To accommodate this, you would monitor for something like "*.csv". Have this kick off your project passing it the files it finds. Then, you could loop through the files found and select the ones that contain "${CurrentDate('MMddyyyy')}" in the file name... ignoring the others.
The monitor is designed to look for generic file patterns. The variables defined inside of your Project Workflows do not work inside the Monitor file patterns.
To accommodate this, you would monitor for something like "*.csv". Have this kick off your project passing it the files it finds. Then, you could loop through the files found and select the ones that contain "${CurrentDate('MMddyyyy')}" in the file name... ignoring the others.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
2 posts
Page 1 of 1