Hey I tried File System watcher to trigger an event when there is a new file created in a folder. But the File System watcher event is triggering the same event twice. Is there a way to make it trigger an event only once?
Hey Grona I'm running a loop to create a file. But in each iteration it creates only a single file. But still it seems to trigger two events for a single file creation. If there is any links on how to use FileSystemWatcher would be useful.
Posted: 4 years ago
Posted: 22 Dec 2017 14:46 EST
Thomas Sasnett (ThomasSasnett)
Lead Robotics Architect
The FileSystemWatcher is a Microsoft .Net Component and not specific to Pega Robotics. Here are a few useful articles I have found. I would suspect your notify filter is triggering off of two different things.