Send Escalation Notification with GenericAgent

Hi, I'm trying to send escalatio notification with GenericAgent. Moreover, at the same time I want to add a note and change the queue and the owner. The code is this: %Jobs = ( # -- # [name of job] -> send escalation notifications # -- 'send escalation notifications MFC' => { Escalation => 1, # new ticket properties New => { Module => 'Kernel::System::GenericAgent::NotifyAgentGroupOfCustomQueue', Queue => 'Sin tratar', Owner => 'responsable', Note => { From => 'GenericAgent', Subject => 'Escalation!', Body => 'The ticket was escalated!', ArticleType => 'note-internal', # note-internal|note-external|note-report }, }, }, # -- ); I don't know what happening but I think that the code is correct, no? Regards Manuel Fernandez

Hi, I just realized that if I change the ticket queue, the job is processed. Just in case, I shall describe my scenario: 1. When a ticket arrives to the system, it is assigned to a Raw queue, this raw queue has not escalation time. 2. Then the manager assigns the ticket to a queue with escalation time. 3. An agent takes the ticket and he resolves it. That is the normal scenario. If the ticket is not resolved by the agent whitin escalation time nothing happens. The notification is only sent when the ticket has moved from one queue to another, otherwise it won't. why does this happen?
participants (1)
-
Manuel Fernández Campos