Someone in our company has asked if we could setup something up in Switch to monitor a directory and send an email notification when a file arrives.
Simple flow, we do this sort of thing all the time on our servers - but they want to monitor a directory on another mapped network drive, and that's where the issues begin.
While the simple flow operates flawlessly when monitoring a shared directory on a machine - physical or virtual - when monitoring a mapped network drive, the flow doesn't respond to files arriving in the directory and no notification is ever generated. I should point out that there are no issues navigating to the directory, and the 'Jobs' window in the Design view of Switch displays the files present in the directory.
Are there additional steps need to be taken to make this sort of thing work? Is it possible to watch across the network in this manner? Is there a better way to accomplish this function?
We're using Switch 11 installed in Windows Server 2003 SP2
Directory Monitoring across a network
-
- TOP CONTRIBUTOR
- Posts: 628
- Joined: Mon Nov 29, 2010 8:45 pm
- Location: Alpharetta GA USA
- Contact:
Directory Monitoring across a network
I have found that adding an "automanaged" folder between network drive and next process, email in your case, improves performance and stability. I had a simple workflow that simply copied files from one network server to another and it constantly locked up. Adding the intermediate folder improved stability.
Directory Monitoring across a network
I did try adding an automanaged directory, but the result was the same when monitoring a mapped network drive - the files are visible in the files pane of Switch's designer view, but no acknowledgement of the file's presence by Switch. Any other suggestions?
Thanks,
Jim
Thanks,
Jim
-
- Member
- Posts: 85
- Joined: Thu Jun 23, 2011 11:41 am
Directory Monitoring across a network
Hmmm, how about if you add some sort of process - say a rename (and straight to trash) and put the email in that flow...?
Directory Monitoring across a network
A good suggestion, but it rendered the same result - nothing.
I even tried changing the 'Leave originals in place' to NO and using a blank text file for the test file, and no notification was generated.
I'm thinking I will suggest another method be used for the directory monitoring request.
I even tried changing the 'Leave originals in place' to NO and using a blank text file for the test file, and no notification was generated.
I'm thinking I will suggest another method be used for the directory monitoring request.
-
- TOP CONTRIBUTOR
- Posts: 628
- Joined: Mon Nov 29, 2010 8:45 pm
- Location: Alpharetta GA USA
- Contact:
Directory Monitoring across a network
Do you have "keep originals" enabled? If so, Switch may think it's already processed the files. Try deleting and recreating the input folder.