Notification (Event) additional filter: Article Sender Type

English! place to talk about development, programming and coding
Post Reply
pekkaar
Znuny newbie
Posts: 41
Joined: 11 May 2010, 16:18
Znuny Version: 3.1.10
Location: Hungary

Notification (Event) additional filter: Article Sender Type

Post by pekkaar »

It is a nuisance with v2.4.7 that you can not explicitly configure the Article Sender Type values for your Notification (Event) configs. Sender Types are 'agent', 'customer' or 'system' -- these tell you which party generated the article and it is pretty useful for ArticleCreate notification events, where you wish to filter for email-external Article Types.

The files to edit (on a Fedora distro):
  • Kernel\Modules\AdminNotificationEvent.pm -- add the logic for the ArticleSenderType list operations (add, change, update)
  • Kernel\Output\HTML\Standard\AdminNotificatinEventForm.dtl -- add the HTML GUI component for the AST list
  • Kernel\System\Ticket\Event\NotificationEvent.pm -- add the AST decision to the logic to decide whether to send the notification
Regards,
Peter
otrs 4.0.3, mysql 5.5.15, Fedora r15
Mike_B
Moderator
Posts: 266
Joined: 12 Jan 2010, 18:16
Znuny Version: CVS HEAD

Re: Notification (Event) additional filter: Article Sender T

Post by Mike_B »

Hi Peter,

If you can supply patches against CVS HEAD for this we'd be happy to put it in 3.0beta2 - that way you don't have to patch again if you upgrade to v3, and others can benefit from your work as well...

Mike
huntingbears.nl - @michielbeijen on Twitter
fbobraga
Znuny newbie
Posts: 77
Joined: 15 Jul 2010, 20:04
Znuny Version: 2.4.7
Contact:

Re: Notification (Event) additional filter: Article Sender T

Post by fbobraga »

it's not a feature request for http://bugs.otrs.org/ ?
Evaluation/pilot: OTRS 2.4.7 on Linux (CentOS 5.4) with MySQL database connected to an Active Directory for Agents and Customers.
Post Reply