-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flow check for containing directory #19810
Comments
same for "Send an email" and "Notify me" - would be a huge benefit |
The thing is we tried to prevent this all the time, because if you have a share received and have that moved into the folder you want the rule to apply, it will not trigger. The rules are only executed on the storage of the actual owner. So this will lead to confusion on all ends all the time. |
As per #23452 (comment) you can use a tag (aka File System Tag) on the containing folder. |
While using system tags would work for blocking just the folder, it doesn't look like it would allow to say something like "for every file uploaded into folders tagged as X run a script S with the file name as argument" (using workflow_script for example). Not sure if the script would run at all, maybe just at the time where the folder is created. My use case is for processing pictures from instant upload for import like auto-rotate, see nextcloud/photos#622 |
workflow_script doesn't work on folders: nextcloud/workflow_script#26 |
Even if it did, the bit that's missing is "trigger the action whenever something is happening inside the folder, not on the folder itself". Maybe it could be called "Parent is tagged with tag T" (or even "Any parent is tagged with tag T) |
So at least with autotagging the thing is triggered on updates as well. Not sure if it's also for the workflow_script, but if there is an update it also works because at least the mtime of the folder changes. |
Interestingly that does work with automated tagging: When file is changed and file system tag is tagged with folderTag then assign tag fileTag. |
I'll leave this here:
|
I guess we could change the text to make it more obvious within the UI that it is recursive. |
Why not only "Tag" after all? What's collaborative about them in the first place? |
"Collaborative tag" is the name that was given in the web UI a long time ago. |
So is this option feasible? |
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions. |
For user flows it would be very useful to add a check that can verify if a file event was performed on a file inside of a given directory.
Basically what we have shown in the mockups of the preannouncement:
@blizzz I guess this only makes sense for user scope? I don't remember exactly how those were implemented, if we assume a flow operation is triggered on file change, will the flow be executed only for file changes by the user who has configured or also if someone else changes a shared file that is owned by the user?
The text was updated successfully, but these errors were encountered: