On Mar 20, 2015, at 5:20 AM, [email protected] wrote:
> 
> Hi,
> 
>   I've created a Scrip with condition "On Queue Change" but it only works 
> when I change the queue via the GUI. I've created a little custom perl module 
> in Actions to change the queue which works great (I'm calling it from 
> rt-crontool), but it doesn't trigger the Scrip. Anyone any ideas what's going 
> on?
> 
> 
I've noticed that some of the things done with rt-crontool don't get recorded 
and therefor don't trigger scrips.  This might be because of something minor 
missing in your custom perl module (custom action).  When the custom perl 
module changes the queue do you see a transaction listed in the ticket history 
reflecting the queue change or is the queue just different on the ticket with 
no mention of it in the ticket history?  If there's no mention of it in the 
ticket history it means that the transaction is not recorded.  This is similar, 
although not quite the same as, AddCustomFieldValue( Field ..., Value ..., 
RecordTransaction => 0 ).  I'd probably try and find a way to get the queue 
change to be recorded in the ticket history that way it would trigger scrips 
such as the "On Queue Change" one you have that works when using the GUI.

Landon Stewart : [email protected]
Lead Specialist, Abuse and Security Management
Spécialiste principal, gestion des abus et sécurité
http://iweb.com : +1 (888) 909-4932


Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to