[rt-users] Using custom conditions with custom fields

Todd Chapman todd at chaka.net
Sun Dec 24 11:15:46 EST 2006


On Fri, Dec 22, 2006 at 08:16:08PM -0600, Tim Wilson wrote:
> Todd (and others),
> 
> Thanks for the help. That makes sense to me except for one thing. I'm
> not sure where the $my_id comes from. More precisely, I don't see how
> comparing $self->TransactionObj->Field to $my_id works in this case. I
> realize this isn't a perl tutorial list, but I'm puzzled.
> 
> -Tim

You have to do something like:


my $cf = RT::CustomField->new( $RT::SystemUser );
$cf->LoadByName( NAME => 'my_cf', QUEUE => 'my_queue' );
$cf->id;



More information about the rt-users mailing list