File Monitor

Discuss RoboTask here
Post Reply
OldGeek
Posts: 64
Joined: Thu Jun 01, 2023 2:50 pm
Location: Upstate NY

File Monitor

Post by OldGeek »

This is my first time using the file monitoring trigger. I'm using the second tab (Save to File) then save to different lists. It overwrites the files for every trigger event. I would like it to append it's finding to the three files (New, Changed, Deleted). Any ideas now how I can do this? Thank you in advance for any help.
Windows 11 Pro, RoboTask v10.6
MarilynReyes
Posts: 1
Joined: Tue Dec 23, 2025 9:47 am

Re: File Monitor

Post by MarilynReyes »

I had a similar issue before. In most cases it happens because the variable keeps its previous value when the task runs again. Try resetting or clearing the variable at the start of the task — that should prevent the unexpected behavior.
exactolympic
Posts: 1
Joined: Mon Mar 09, 2026 3:22 am

Re: File Monitor

Post by exactolympic »

If you’re using the Save to File tab and it keeps overwriting the files, that usually means it’s saving in write mode instead of append mode. A simple workaround is to switch to an option that allows appending to existing files if the tool supports it, or use a small script/action that writes the results with an append flag rather than replacing the file.
Post Reply