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

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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

Reply via email to