[rt-users] How to determine the value of a transaction custom field in Scrip

peti peti petipp at hotmail.com
Thu Apr 6 17:32:53 EDT 2006


How do I install this patch?

I am new at RT. My installation is:
RT		3.4.4
Apache	                1.3.34
Perl		5.8.7

I need to transfer tickets between queues when a "Transaction Custom Field" 
takes a determined value, and I will create a scrip to do so. I was 
searching the mailing list and find this patch. And it sounds me 
interesting.

Thanks in advance.
Gabriela




-----Mensaje original-----
De: lwang [mailto:lwang at clusterfs.com]
Enviado el: jueves, 30 de marzo de 2006 4:24
Para: Jesse Vincent
CC: rt-ursers
Asunto: Re: [rt-users] How to determine the value of a transaction custom 
field in ScripCondition

Jesse,

Thank you very much! It works!


Jesse Vincent wrote:
>
>
>On Thu, Mar 30, 2006 at 11:40:38AM +0800, lwang wrote:
>
>>Jesse,
>>Did you post your patch in rt-user list or rt-devel list?
>
>
>I think it was rt-devel. But I found and attached the patch. Thanks to
>svk ;)
>
>
>
>>Thanks.
>>
>>Jesse Vincent wrote:
>>
>>>Sometime around 6 months ago, I sent out mail with a patch to enable
>>>this feature. It was way too hacky to be reasonable to include in the
>>>core, but might be reasonable to use in your situation.
>>>
>>>
>>>On Wed, Mar 29, 2006 at 11:43:20AM +0800, lwang wrote:
>>>
>>>
>>>>Hi there,
>>>>
>>>>I would like to check the value of a transaction custom field in a scrip 
>>>>condition to trigger an action.
>>>>
>>>>It seems, however, that I can't achieve this purpose.  I found that the 
>>>>custom field for a transaction is not set when IsApplicable() is called.
>>>>
>>>>The transaction custom field is set in Interface/Web.pm separately after 
>>>>the transaction is created.
>>>>
>>>>Any alternatives are available?
>>>>
>>>>Any suggestion is appreciated.
>>>>
>>>>- Wang
>>>>_______________________________________________
>>>>http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>>>>
>>>>Community help: http://wiki.bestpractical.com
>>>>Commercial support: sales at bestpractical.com
>>>>
>>>>
>>>>Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy 
>>>>a copy at http://rtbook.bestpractical.com
>>>>
>>>>
>>>>We're hiring! Come hack Perl for Best Practical: 
>>>>http://bestpractical.com/about/jobs.html
>>>>
>>>
>>>
>
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales at bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


We're hiring! Come hack Perl for Best Practical: 
http://bestpractical.com/about/jobs.html





More information about the rt-users mailing list