Hello,
I opened this message because I did not used the right way to use Tags as a good tool to mark a file that has completed a process’s step.
This help every one to manage simples process workflows.
I explain the context then the solution.
It’s presentely too hard and non-intuitive to manually tag a file that completed a step.
4 clics needed.
The first to open options on a file, the second on three points … to open drop-down tags list, then you search the right tags then on click to choose it, and another click to close files’s options.
So we need to use NC’s automated tagging.
Nextcloud version : 28.0.14
I tried a wrong way you should not imitate
1/ Create a new automated tagging flow with :
File MIME type is not Folder
and Request URL matches Custom URL /SECRET*/i
the associated tag is “Secret” (restricted)
This helps to tag any file who is uploaded in any folder whose name begin by the word SECRET
2/ Upload the file “Boss strategy1.pdf” in the Folder named “SECRET marketing”
immediately, the file is tagged with “Secret”. All is right
3/ Upload a file “Boss strategy2.pdf” in any Folder which is not secret
then use the nextcloud Move action to move this file in the “SECRET marketing” folder.
This time the tag do not appears on the “Boss strategy2.pdf” file.
It’s too bad : The tag should have appeared as well as before.
4/ Move the “Boss strategy2.pdf” file from the “SECRET marketing” folder to another folder whose name do not contains the word SECRET.
Then the “Boss strategy2.pdf” appears as a tagged file with the tag “Secret”
This proves that the tagging works with the move of a file, but it shaws the display of the tag did not worked when the file had been moved within an automated tagging area.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
The right solution thank’s to Auto tagging only for files - #3 by wook
The right automated tagging flow is :
Rule 1
file is tagged with → SECRET
Rule 2
file mime-type → IS NOT → folder
And I give the tag SECRET to the parent folder
Then the behavior is OK both for uploaded files and for moved files.