I don’t know if this is the right place for this, but it seemed more appropriate than opening issues in Github right away. In my opinion automated workflows could be a really big thing for Nextcloud and would only need a few more checks and operations. Ultimately I wish for a workflow manager that allows users to create their own complex workflows.
- Folder: Only apply operation in a certain folder. (I know, there’s a workaround with tags.)
- User: Apply operation for certain user(s) only. This would allow non-admin users to create their own workflows by locking this check.
- Remove tag: One could establish complex workflows by combining modules that check for a certain tag, execute their operation and delete/replace the tag.
If every workflow module (I’m thinking of something like: moving files/folders, image operations,…) provides the tag replacement you should be able to create a complex workflow by connecting them via tags.
Nice to have:
- Executing workflows when moving files (e.g. moving a file into a specified folder to start the workflow) or manuel workflow execution.
I read a few lines of the workflow engine code and think this shouldn’t be too hard to accomplish, but I might be totally wrong. It would be nice to know where this part of Nextcloud is heading as there is a lot of room for improvements, I think.
EDIT: Giving it some more thoughts I think, it won’t just work with multiple tags for different stages of the workflow. That would require the engine to trigger on more events than just file uploads (in this case tag changes).