Testing File Observer but no visible result

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
husky
Posts: 132
Joined: 29 Oct 2016 13:41
Location: Omaha, Nebraska, USA
Contact:

Testing File Observer but no visible result

Post by husky » 05 Apr 2017 01:03

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
"Basic research is what I'm doing when I don't know what I'm doing"

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Testing File Observer but no visible result

Post by Martin » 06 Apr 2017 18:26

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

User avatar
husky
Posts: 132
Joined: 29 Oct 2016 13:41
Location: Omaha, Nebraska, USA
Contact:

Re: Testing File Observer but no visible result

Post by husky » 06 Apr 2017 19:49

Martin,

Thanks for the explanation.

Things now make sense.


Thank You


Regards


Husky
"Basic research is what I'm doing when I don't know what I'm doing"

Post Reply