Flows: Does "File accessed" trigger only work with "Block access to a file" flow or is it a bug?


I’m trying to setup a flow that runs script/calls webhook when some files are accessed.
Problem is I can’t trigger the flow when using flows other than “Block access to a file”.

Nextcloud version 27.1.3
Ubuntu 22.04
Apache/2.4.52 (Ubuntu)
PHP 8.1.2

Steps to reproduce:

  1. Add any personal or admin flow that supports trigger “When File accessed” - other than “Block access to a file”.
  2. Setup a filter, for example “File name” “is not” “ZZZZZZZZZYYYY”
  3. Setup an action, for example some curl script like curl -X POST https://my-webhook-address.com
  4. Access some file that matches this rule.
  5. Expect some action to be run.

Flows I tested that work with “File updated/deleted/created etc.” but DO NOT work with “File accessed”, i.e. that trigger is, well, not trigged:

  1. Outgoing webhook
  2. Run script
  3. Email notifications
  4. Send a notification
  5. Analytics