we are trying to create an automated JOB for check some ticket properties and set other ones.
we also would like to use a regular expression for check all the ticket in particular queue, but it doesn't work.
In the Log we have this error:
error OTRS-otrs.GenericAgent.pl-02 Found no Queue for [RegExp]^Webfarm!
Question: We must specify all the queue name or we can also use the regular Expression for select all the one that we want?
Below the Job that we have added to the GenericAgent.pm file
Code: Select all
'KU Note WEBFARM' => {
# get all tickets with these properties
States => ['Attesa Cliente','Attesa Fornitore','In Lavorazione','Preso in Carico','Sospeso'],
Queue => ['[RegExp]^Webfarm'],
DynamicField_KeyUserDecision =>{ Equals => 'Aggiunta Nota', },
# new ticket properties
New => {
State => 'Ricevuta risposta dal KeyUser',
DynamicField_KeyUserDecision =>'-',
DynamicField_LastDecision =>'Aggiunta Nota',
},
},