You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, would it be possible to add a toggle in the flow configuration to delete the tag instead of adding it? This would greatly help with what I'm trying to accomplish, which is to respect both a file's modification date and creation date (which I assume is the upload date of the file, at least when uploading via the web interface).
My flow setup
When a file is changed, if it is tagged with ctime, tag it with mtime
When a file is changed, if it is not tagged with mtime, tag it with ctime
This makes it so that when a file gets uploaded, it only gets tagged with ctime. When the file is modified however, it also gets tagged with mtime. This works as expected, though I have not experimented with different file types or flow rule orders yet.
Interaction with file retention
Files tagged with ctime gets removed 60 days after creation
Files tagged with mtime gets removed after 60 days after the last modification was made
What I would like to see, without the adding of additional plugins, is being able to remove the ctime tag from files when they receive the mtime tag. This would switch what retention rule the files follow, which in turn would make it so that files are always stored 60 days after creation or last modification.
Proposed behavior
Instead of scanning files for when they no longer meet the tagging requirements, why not just configure it as a new rule? For example, by adding a choice in the flow configuration between "add tag" and "delete tag", it would be possible to have the following rules:
When a file is changed, if it is tagged with ctime, tag it with mtime
When a file is changed, if it is tagged with ctime, remove the tag ctime
When a file is changed, if it is not tagged with mtime, tag it with ctime
This way, a file gets created and is tagged with ctime. When the file is changed, mtime is added and ctime is removed. Since the logic for triggering a rule with conditions is already there, the only thing that would need to be added would be the "remove tag if present" option. Would this be possible and would it be complicated?
The text was updated successfully, but these errors were encountered:
Hi, would it be possible to add a toggle in the flow configuration to delete the tag instead of adding it? This would greatly help with what I'm trying to accomplish, which is to respect both a file's modification date and creation date (which I assume is the upload date of the file, at least when uploading via the web interface).
My flow setup
ctime
, tag it withmtime
mtime
, tag it withctime
This makes it so that when a file gets uploaded, it only gets tagged with
ctime
. When the file is modified however, it also gets tagged withmtime
. This works as expected, though I have not experimented with different file types or flow rule orders yet.Interaction with file retention
ctime
gets removed 60 days after creationmtime
gets removed after 60 days after the last modification was madeWhat I would like to see, without the adding of additional plugins, is being able to remove the
ctime
tag from files when they receive themtime
tag. This would switch what retention rule the files follow, which in turn would make it so that files are always stored 60 days after creation or last modification.Proposed behavior
Instead of scanning files for when they no longer meet the tagging requirements, why not just configure it as a new rule? For example, by adding a choice in the flow configuration between "add tag" and "delete tag", it would be possible to have the following rules:
ctime
, tag it withmtime
ctime
, remove the tagctime
mtime
, tag it withctime
This way, a file gets created and is tagged with
ctime
. When the file is changed,mtime
is added andctime
is removed. Since the logic for triggering a rule with conditions is already there, the only thing that would need to be added would be the "remove tag if present" option. Would this be possible and would it be complicated?The text was updated successfully, but these errors were encountered: