From my phone provider I can download 2 versions of the monthly invoice, one with the calls specified, one without. I want the first for my own administration and the last for declaration at work. Both PDFs get the same download name.
So I wrote 2 rules to figure out which is which. They basically do this:
Specified invoice:
if all match
- name contains <provider accountnumber>
- contents contain "start time"
then
- rename file
- move file to home/phone
Unspecified invoice:
if all match
- name contains <provider accountnumber>
then
- rename file
- move file to work/yyyy-mm
They are in the order above.
If I disable the second rule, the first fires as expected, but if I enable the second rule, the second always fires.
What's going wrong?