Generic Agent notes article type

Moderator: crythias

Locked
voiprodrigo
Znuny newbie
Posts: 62
Joined: 03 Dec 2014, 18:49
Znuny Version: OTRS 4
Location: Portugal
Contact:

Generic Agent notes article type

Post by voiprodrigo »

Hello,

I have Generic Agent adding notes to tickets on different situations, and they show up as agent-internal, thus counting for the "unread" articles, which is annoying. I want to enable Ticket::NewArticleIgnoreSystemSender, but I need that Generic Agent notes be of type system. Is this possible somehow?

Thanks.
Linux (Ubuntu 14.04.1 LTS) | MySQL 5.5.40 | OTRS 4.0.7
voiprodrigo
Znuny newbie
Posts: 62
Joined: 03 Dec 2014, 18:49
Znuny Version: OTRS 4
Location: Portugal
Contact:

Re: Generic Agent notes article type

Post by voiprodrigo »

I modified GenericAgent.pm so that, for note subjects matching a certain pattern, the SenderType is system instead of the hard-coded "Agent", which is even better, as I only need for certain particular cases.
Linux (Ubuntu 14.04.1 LTS) | MySQL 5.5.40 | OTRS 4.0.7
Locked