[rt-users] OnPage
Carrie Coy
ccoy at ssww.com
Wed Dec 19 14:21:14 EST 2001
I'm trying to set up an OnPage condition that would be satisfied if the
Owner is set to "oncall". Does the code below seem right?
sub IsApplicable {
my $self = shift;
if (($self->TransactionObj->Field eq 'Owner') and
($self->TransactionObj->NewValue =~ /oncall/ )) {
return(1);
}
else {
return(undef);
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ccoy.vcf
Type: text/x-vcard
Size: 198 bytes
Desc: Card for Carrie Coy
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20011219/59d5dd61/attachment.vcf>
More information about the rt-users
mailing list