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

lwang lwang at clusterfs.com
Thu Mar 30 02:24:26 EST 2006


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
>>>>
>>>
>>>
> 



More information about the rt-users mailing list