Create your first automation in just a few minutes.Try Studio Web

File Watcher

File Watcher

by Internal Labs

StarStar

5

Activity

Downloads

5.1k

Pankaj Dhane
Posted 4 years ago

How to use the Output section part of the activity

Kesavaraj K
Posted 4 years ago

Can we monitor an FTP Folder for new files upoaded?  if yes How can we do that?

Maciej Sartys
Posted 5 years ago

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..

Ion Teodorescu
Posted 5 years ago ago

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.

Lahiru Fernando
Posted 5 years ago

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

Ion Teodorescu
Posted 5 years ago ago

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.

Rama Krishna
Posted 5 years ago

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

Ion Teodorescu
Posted 5 years ago ago

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:

https://connect.uipath.com/help/frequently-asked-questions?search=custom&section=all#How%20to%20install%20a%20custom%20activity%20from%20the%20Public%20Feed?%20

https://connect.uipath.com/help/frequently-asked-questions?search=custom&section=all#How%20to%20add%20custom%20activities%20and%20snippets%20in%20UiPath%20Studio?

Tomas Lacarte
Posted 5 years ago

In this moment i use "FileChangeTrigger" but I want to switch to your activity, does it serve as a monitoring trigger too?

Ion Teodorescu
Posted 5 years ago ago

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.

sheetal kharat
Posted 6 years ago

file watcher activity is not working on uipath..

Ion Teodorescu
Posted 5 years ago ago

Hi Sheetal, the activity works with the a latest UiPath version. Can you please describe what difficulties you have encountered?

luke rowley
Posted 6 years ago

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?

Ion Teodorescu
Posted 5 years ago ago

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.

Dorel Pureca
Posted 6 years ago

Great job Ion! I agree with Majid. Some instructions would have been very useful.

Ion Teodorescu
Posted 6 years ago ago

Hi Dorel, thanks. I have uploaded an user guide that details input/output parameters for the activity.

Majid Paktinat
Posted 6 years ago

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?)

Ion Teodorescu
Posted 6 years ago ago

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.

Publisher

Internal Labs

Visit publisher's page

License & Privacy

License Agreement

Privacy Terms

Technical

Version

1.4

Updated

August 13, 2020

Works with

Studio: 21.10 - 22.10

Certification

Silver Certified

Support

UiPath Community Support

Resources