Folder Watches
Folder Watches lets you pick a folder on one of your connected computers and record when files in it are created, changed or deleted. You can also choose a workflow to run when that happens, but that part is not working yet.
Open the page
Go to Studio → Desktop → Folder Watches (/desktop/watches, also /desktop/watch-registry). It is titled Folder Watches: "Monitor folders on your machines and trigger workflows on file events." You need the apex.desktop.watches permission. You see only your own watches. The buttons at the top are a refresh icon and New Watch.
Before you start
The computer must be running the TAO Desktop Assistant and be connected. See Desktop Assistant.
Create a watch
Click New Watch
The New Folder Watch form opens.
Pick the machine
Machine lists your connected computers as "name (os)". If there are none you see "No connected desktop sessions. Connect the agent first."
Choose the folder
Type the Folder path (for example
/Users/you/Documents/invoices) or click Browse ("Opening…") to open a folder picker on that computer. The server waits 60 seconds, then says "Folder picker timed out". Cancelling the picker does nothing.Filter file types (optional)
File extension filter (optional), for example
.pdf, .xlsx, .csv. A missing dot is added for you. Leave it blank for every file.Pick the events
Watch for events: File created, File modified and File deleted. Created and modified are ticked by default. You need at least one.
Choose a workflow (optional)
Workflow to trigger (optional) shows "— Select workflow —". It lists workflows that have a Folder Watch trigger. If there are none it lists all workflows and warns "No workflows with a Folder Watch trigger found — all workflows shown. Add a Folder Watch trigger node to a workflow first."
Create
Click Create Watch ("Creating…"). It stays disabled until a machine, a path and at least one event are set. Message: "Folder watch created."
The list
Each row shows the folder path, a status (active, paused, offline or invalid), the machine, the extensions, "→ workflow", "N today" and "N this week". Today uses the UTC day, and the week starts on Monday.
| Button | What it does |
|---|---|
| Pause | Stops the watch ("Watch paused.") |
| Resume | Starts it again ("Watch resumed.") |
| Delete | Asks Delete folder watch? and "The workflow trigger will stop firing from this path." Click Delete ("Watch deleted."). |
| Event log | Opens the recent events |
The list refreshes every 15 seconds. Empty: "No folder watches yet" and "Create a watch to trigger a workflow when files change in a monitored folder." with Create first watch.
Event log
Shows the latest 50 events, refreshed every 10 seconds, with the event type, the file name, the time and a trigger icon. Empty: "No events yet." While loading: "Loading events…".
How it works behind the scenes
Creating a watch saves it and sends its settings to the Desktop Assistant on that computer. Pause, resume and delete are sent the same way. When the assistant reconnects, TAO sends it all its active watches again. The assistant reports each file event, and TAO stores it. We found no limit on how long events are kept.