Create your first automation in just a few minutes.Try Studio Web →
by YouTube
5
Activity
704
Is it possible to set timeout for this activity. Like, I want to wait for 20 minutes for file to be delete and after this time throw an error (because I know, that over 20 minutes means something stuck) ?
Edit. I have no idea how I could simply miss that there is a timeout property..
Hi Maciej, you can use the Watcher Timeout property, this is the description from de user guide:
Watcher Timeout (Int): Timeout value in milliseconds for the file watcher. By default, the watcher does not have a timeout value and it will wait indefinitely. If the timeout is reached and no file event is picked up, the output arguments will be empty.
HI,
Say that multiple events took place at the same time.. like copying multiple files into the location.. Would be great if it can return a list of files that involved in the event for the trigger
Hi Fernando, thanks for your suggestion. The activity was designed to trigger workflow processing based on a single file event. Copying multiple files would trigger multiple file events and each of them should be handled separately. In the scenario, you described it would be possible to check if other files were also copied by verifying the list of files from the target folder before and after the FileWather activity. Maybe in future versions, I will add support for handling multiple file events.
Hi Ion,
It was very nice, but for me getting the error called
NU1101: Unable to find package Attended.Assistant.Window. No packages exist with this id in source(s): C:\................................\UiPath\app-20.2.0-beta0108\.\Packages, C:\...............................................\Packages, https://api.nuget.org/v3/index.json, https://platform.uipath.com/eclatyqqjebv/EclatureTechnologyDefault/nuget/activities, Local, nuget.org
LIke this ......
But i done advances excel also in same process, it was working fine...
why File watcher was not working. Can you suggest me what to do for this....
Thanks in advance.
Ramakrishna
Hi Ramakrishna,
The error you encountered is not related to the FileWatcher activity. The error is caused by the fact that UiPath Studio cannot find the package for another custom activity "Attended.Assistant.Window" (NU1101: Unable to find package Attended.Assistant.Window).
Please check the links below for details on how to install additional activity packages in Studio:
In this moment i use "FileChangeTrigger" but I want to switch to your activity, does it serve as a monitoring trigger too?
Hi Tomas, FileWatcher can only be used as a stand-alone activity, it cannot be included as an event trigger inside a Monitor Events activity.
file watcher activity is not working on uipath..
Hi Sheetal, the activity works with the a latest UiPath version. Can you please describe what difficulties you have encountered?
Hi there, this is a great activity but is there any combination of events that will allow me to read the file if there is already one there and read a new incoming file if the directory is empty?
Hi Luke, right now I think you can use two FileWatcher activities one after the other, the first one with an Exist event selected and the second one with the Created event selected. In between them a check on the output of the first FileWatcher should be performed. In a future version I will add support to handle this situation using a single activity with both events checked in the same time.
Great job Ion! I agree with Majid. Some instructions would have been very useful.
Hi Dorel, thanks. I have uploaded an user guide that details input/output parameters for the activity.
Hi There, Is there any manual to use this activity ?
(specially the question is for Stabilization Delays and Stabilization Retries)
and what if we'd like to configure it to watch every 30 mins for example.(Is it possible through activity or we have to schedule in Orchestrator?)
Hi Majid, I have uploaded an user guide that details the input/output parameters for the activity. If you want to watch for files only at specific moments in time I think it is ideal to use an Orchestrator schedule.
Technical
Version
1.4Updated
August 13, 2020Works with
UiPath Studio 2018.2.3
Certification
Silver Certified
Collections
Support
Link: https://connect.uipath.com/contact-usThe ticket is managed under Standard Support - Priority Levels 3 and 4. See your paid license agreement with UiPath.
Resources