[rt-users] RT 3.0.6 - Custom Scrip Conditions on Custom Field changes

BJ Blanchard blabj at dainty.ca
Fri Oct 31 09:54:45 EST 2003


Hi,

The custom scrip conditions in RT 3 is very powerfull, but I cannot
figure out how to trigger an action on a change to a "custom field".

I've tried this to no avail:

if ($self->TransactionObj->Field eq "NameOfCustomField") {
  return(1);
} else {
  return(undef);
}

What I really want to do is not just trigger on *any* change but trigger
on specific values of custom fields.  

Eg:  If (( custom field modified ) and ( custom field value =
"somevalue")) return (1);

Any ideas?

-Bob




More information about the rt-users mailing list