On 29.08.2013 11:27, Susan Dittmar wrote: > I guess you misunderstood the question, Renee. If I read the question > correctly, it's meant as "can I have GenericAgent perform a bash > script on the ticket?".
Yes, that's what I answered ;-) If you create a new GenericAgent, there is a section called "Ticket Commands". In the field "CMD" you can insert the script that should be called when the GenericAgent runs and matches... If you want to do it in Kernel/Config/GenericAgent.pm, you can do it that way: 'move escalation ticket to experts and execute CMD' => { # get all tickets with these properties Queue => 'xyz', Escalation => 1, # new ticket properties New => { Queue => 'experts', # your program (/path/to/your/program) will be executed like # "/path/to/your/program $TicketNumber $TicketID" ARG[0] will # be the ticket number and ARG[1] the ticket id CMD => '/path/to/your/program', }, }, -- Perl / OTRS development: http://perl-services.de OTRS AddOn repository: http://opar.perl-services.de --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs