
Hi Gonzalo, Gonzalo Balatti schrieb:
Alex, muchas gracias!!
Having used is a escalation with the package AutoIncreasePriority, but gives a mistake of parameter. says something as TimeInternval.
Can you help me?
examine the source code: $Param{New}->{"TimeInterval"} = $Param{New}->{"TimeInterval"} * 60; Interpret TimeInterval as minutes => so multiply with 60 to get seconds. # find latest auto priority update foreach my $History (@HistoryLines) { if ($History->{Name} =~ /^AutoPriorityIncrease/) { $LatestAutoIncrease = $History->{CreateTime}; } } Finds the last autoincrease-history-entry. if (!$LatestAutoIncrease) { $LatestAutoIncrease = $Ticket{Created}; } If nothing was found, use the ticket-creation-time. if (($Self->{TimeObject}->SystemTime() - $LatestAutoIncrease) > $Param{New}->{"TimeInterval"}) { $Update = 1; } If the last Update is more than TimeInterval ago, increase the priority. So, TimeInterval is a parameter needed by this GenericAgent-module.
Saludos,
Saludos, Gonzalo Balatti Viera - CSU IBM Uruguay. Plaza Independencia 721. Teléfono 902 36 17 Int 5705.
Bye, Alex