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
Testing File Observer but no visible result
Moderator: Martin
Testing File Observer but no visible result
"Basic research is what I'm doing when I don't know what I'm doing"
Re: Testing File Observer but no visible result
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
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
Martin,
Thanks for the explanation.
Things now make sense.
Thank You
Regards
Husky
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"