Hi there,
I thought at first it worked but it is not :(
The following entry in GenericAgent.pm is moving ALL tickets to the desired queue (not only the ones that should be moved)
Indeed!
Here is the working job (running every two minutes no problem!):
# --
'move tickets from MDS to MDS Critico' => {
# get all tickets with these properties
Queue => ['Mesa de Servicios'],
SLA => ['Critico 30min'],
# new ticket properties
New => {
Queue => 'Mesa de Servicios::Mesa de Servicios Critico',
Note => {
From => 'SeUs',
Subject => 'Ticket Critico movido a cola Critico!',
Body => 'Movido a la cola Critico por tener un SLA Critico!',
ArticleType => 'note-internal', # note-internal|note-external|note-report
},
},
},
My mistake was to write :Queue => 'Subqueue',Instead of:Queue => 'Queue::Subqueue',
Thanks again guys, without your help it would have been much harder!
Greetings,
Leonardo CertucheOn Mon, Nov 23, 2009 at 3:59 PM, Nils Leideck - ITSM <nils.leideck@leidex.net> wrote:
On 23.11.2009, at 21:32, Leonardo Certuche wrote:Thanks Nils and Alexander for your explanations, now I have a better understanding about GenericAgent behavior. I was checking
/opt/otrs/Kernel/Config/GenericAgent.pm.examples and it's clear how to use it but none of the examples uses ITSM fields such as Service or SLA, is it possible to use it? We just want tickets from certain SLA to be moved to a give queue ASAP.
did you try " SLA => 'mySLA' , " ?
Nils Leideck
--Nils Leideck
Senior Consultant
nils.leideck@leidex.net
https://webint.cryptonode.de / a Fractal project
---------------------------------------------------------------------
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
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/