CMD in generic agent / run external applications

Hallo Guys! I like OTRS but i am no PERL guru. I have a special Queue called DELETE_USER I have a external application which needs the Customer Emailaddres of each user in that queue as parameter. The GenericAgent only allows TicketID and TickerNumer as parameter for the CMD attribute. Not Priority 1 but it would be nice to attach the Application Response / Output to the ticket. :-) So what to do to get this thing running? Really interested in any draft and help Michael

On Friday, February 27, 2004 3:08 PM
Michael Puetz
I have a special Queue called DELETE_USER I have a external application which needs the Customer Emailaddres of each user in that queue as parameter. The GenericAgent only allows TicketID and TickerNumer as parameter for the CMD attribute.
Not Priority 1 but it would be nice to attach the Application Response / Output to the ticket. :-)
So what to do to get this thing running?
We provide an easy means extending GA's functionality without hacking the source code, but indeed you'll need a certain amount of Guruness ;) What you'd have to do is write a custom module http://doc.otrs.org/1.2/en/html/dev-custom-modules.html and integrate it in GA. # -- # [name of job] -> send escalation notifications # -- 'this is my module performing a superb task' => { # [...select ticket via properties...] # new ticket properties New => { Module => 'MyModule', }, }, hth, Robert Kehl -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388
participants (2)
-
Michael Puetz
-
Robert Kehl