AnsweredAssumed Answered

Tagging script

Question asked by fohnbit on Nov 10, 2014
Hello!

I want to set a rule, which tagging documents automatic, based on the following criteria:
a) if somewhere in Path the number "2-42" and "Q1" then document tagging "Invoice Q1"
b) if somewhere in Path the number "2-42" and "Q2" then document tagging "Invoice Q2"
c) if somewhere in Path the number "2-42" and "Q3" then document tagging "Invoice Q3"
d) if somewhere in Path the number "2-42" and "Q4" then document tagging "Invoice Q4"

How can I reach this?

Thank you!!

Hannes

Edit: As far I read in the Internet, it seems a JavaScript is the easiest way?
Maybe someone has some example lines to add a Tag do the document, what is created?

Thank you!

Outcomes