Filters not applied to Follow up Articles

Moderator: crythias

Post Reply
gumboot
Znuny newbie
Posts: 8
Joined: 22 Mar 2011, 21:58
Znuny Version: 3.0.9

Filters not applied to Follow up Articles

Post by gumboot »

Hi

I have some filters that look for the word "RECOVERED" in the subject of an email that will close the open Ticket. In the Log I can see the Filter being matched and the rule being applied:

[Notice][Kernel::System::PostMaster::Filter::MatchDBSource::Run] Filter: 'BigBrother RECOVERED conn' Set param 'X-OTRS-State' to 'Closed Successful' (Message-ID: <201106230254.p5N2sJOb024759@######.co.nz>)
[Notice][Kernel::System::PostMaster::FollowUp::Run] FollowUp Article to Ticket [1030364] created (TicketID=715958, ArticleID=1421256). ,

But the state isn't updated and the History on the ticket only shows the FollowUp article being added with no state change.

So? Do the rules in filters only apply when the ticket is being created, not on follow ups?

Cheers
OTRS 3.0.9 on Ubuntu with MySQL database. Active Directory for Authentication
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Filters not applied to Follow up Articles

Post by jojo »

you need to use the X-OTRS_FollowUp-State Header
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
gumboot
Znuny newbie
Posts: 8
Joined: 22 Mar 2011, 21:58
Znuny Version: 3.0.9

Re: Filters not applied to Follow up Articles

Post by gumboot »

Ah, that did it. I misunderstood the manual I thought these were applied to subsequent outgoing emails. Now that makes more sense!


Cheers
OTRS 3.0.9 on Ubuntu with MySQL database. Active Directory for Authentication
Post Reply