mirror of
https://github.com/ciur/papermerge.git
synced 2026-04-25 12:05:58 +03:00
[GH-ISSUE #326] Make move-to-folder automation predictable #259
Labels
No labels
2.1
3.0
3.0.1
3.0.2
3.0.3
3.0.3
3.1
3.2
3.2
3.3
3.5
3.x
Fixed. Waiting for feedback.
Fixed. Waiting for feedback.
UX
Version 2.1 - alpha
XSS
announcement
beta
blocker
bug
cannot reproduce
confirmed
confirmed
critical
demo
dependencies
deployment
detchnical debt
discussion
docker
documentation
donations
duplicate
enhancement
feature request
frontend
fundraising
good first issue
good issue
help wanted
high
implemented
important
improvement
incomplete
invalid
investigation
kubernetes
low
low impact
medium
medium
medium impact
migration from 2.0
migration from 2.1
missing-language
missing-ocr-language
no-activity
note
ocr
outofscope
packaging
performance
popular request
pull-request
pypi
question
raspberry pi
roadmap
search
security
setup
status
task
technical debt
updates
user xp
version 1.4.0 - demo
will be implemented
will not be implemented
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/papermerge#259
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @amo13 on GitHub (Mar 3, 2021).
Original GitHub issue: https://github.com/ciur/papermerge/issues/326
Originally assigned to: @ciur on GitHub.
Is your feature request related to a problem? Please describe.
Assume we have an automation to move a document to the "medical" folder if it matches the word "medical" and another automation to move a document to the "invoice" folder if it matches the word "invoice". Not we drop a document containing both words into the inbox for processing. Where will it be moved?
Describe the solution you'd like
I am not sure about how to solve this as it might require the implementation of a rather complex logic, which might be out of scope.
One idea that comes to my mind is having a priority/precedence setting maybe ranging from "low" to "high" or from 1 to 10. But I guess this is still a naive solution. Designing a logic that makes the selection of the destination folder 100% predictable according to settings in conflicting automations is probably nearly impossible. I guess this is why one prefers to use tags instead of folders.
Anyway, is there a way to predict the destination folder for conflicting automations like in the example above? Maybe I am just missing something here...
@ciur commented on GitHub (Mar 5, 2021):
Solution is to be as specific as possible. In your example, next to "medical" you need to add e.g. "Charité Universitätsmedizin" or other more specific keywords. Using just word "invoice" is too general.
No. As I mentioned above, be as specific as possible with keywords.
You have a good point though, I will add this remark to documentation.
@MarcSN311 commented on GitHub (Mar 15, 2021):
@ciur I had the same problem and I think there is a solution for this:
give automations an order and give the user the ability to change it. No complex priority, just a fixed order in which they are run.