[rt-users] problems writing a ScripCondition: On Merge
Ruslan U. Zakirov
Ruslan.Zakirov at acronis.com
Fri Jan 21 18:28:16 EST 2005
Justin Larue wrote:
> Thanks for your quick response!
>
> Ruslan U. Zakirov (Ruslan.Zakirov at acronis.com) wrote:
>
>
>>Description could be localized so you can't relay on it.
>>Use next:
>>
>>my $txn = $self->TransactionObj;
>>return undef unless $txn->Type =~ /^AddLink$/i;
>>return undef unless $txn->Field =~ /^MergedInto$/i;
>>return 1;
>
>
> This works perfectly. Thank you!
Wiki update: http://wiki.bestpractical.com/index.cgi?OnMerge
>
>
>>You could put { $Transaction->Whatever } in the template. Where
>
> exactly
>
>>did you see that on wiki?
>
>
> http://wiki.bestpractical.com/index.cgi?Template uses both $Transaction
> and $TransactionObj in its template examples.
My fault. Fixed. Thanks for the report.
>
> Justin Larue
> CommPartners
> (702) 367-VOIP (8647) Phone ext. 1022
> (702) 365-VOIP (8647) Fax
> jlarue at commpartners.us
> www.commpartners.us
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> RT Administrator and Developer training is coming to your town soon! (Boston, San Francisco, Austin, Sydney) Contact training at bestpractical.com for details.
>
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
More information about the rt-users
mailing list