Page 1 of 1

Testing File Observer but no visible result

Posted: 05 Apr 2017 01:03
by husky
Hello I'm back, again

I'm trying to understand the way File Observer works.
I have a flow that makes updates to a file, every "x" minutes.
I have a flow named "File Observer" with the "Path to Observe" filled out correctly and the trigger options (File Accessed and Modify).

In File Observer Flow, a write to file is requested: event, registered_path, path and event.

This does not seem to work for me as nothing is written to the file and the trigger is not activated.

Any suggestion is welcome.

Thank You


Husky

Re: Testing File Observer but no visible result

Posted: 06 Apr 2017 18:26
by Martin
Hi,

Trigger File Observer should theoretically be executed whenever a file changes and the appropriate events are observed. Please note that there have been reports about strange behavior in the past. Restarting the device might help.
Please also try to enable all events since the system might send other events than expected. For example some camera apps write directly to a photo file while other camera apps write to a temporary file first and then rename the file.

If you use Write to File from a flow each x minutes, you could also use an action Execute Flows to bypass the File Observer entirely.

Regards,
Martin

Re: Testing File Observer but no visible result

Posted: 06 Apr 2017 19:49
by husky
Martin,

Thanks for the explanation.

Things now make sense.


Thank You


Regards


Husky