[rt-users] Transaction-level custom fields not working?

Eirik Øverby ltning at anduin.net
Tue Jun 17 09:41:56 EDT 2008


Hi,

I'm trying to implement a way to "silence" the resolve message to  
requestor.

However, I cannot make the following code - or any variant over it -  
work as expected:
    return 1 unless ($self->TransactionObj- 
 >FirstCustomFieldValue('Silent') =~ /Yes/i );

I have created a customfield named "Silent", type "select one", with  
one selectable value (named "Yes"). However when trying to evaluate  
that one in a custom condition, it is as if the value isn't ever set.

If I try to walk the CustomFields object, I get as far as to  
CustomFieldValues, which is a object hash for ObjectCustomFieldValues,  
but I can't get beyond that (to me it seems like that object has no  
children).

Using RT 3.6.6. Known issue? Obvious mistake on my part (as usual)?

Thanks,
/Eirik




More information about the rt-users mailing list