[rt-users] change queue not triggering Scrip

Landon Stewart lstewart at iweb.com
Fri Mar 20 13:21:43 EDT 2015


On Mar 20, 2015, at 5:20 AM, a.smith at ldex.co.uk 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 : lstewart at iweb.com
Lead Specialist, Abuse and Security Management
Spécialiste principal, gestion des abus et sécurité
http://iweb.com : +1 (888) 909-4932


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20150320/0d72a14d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20150320/0d72a14d/attachment.sig>


More information about the rt-users mailing list