[rt-users] example of custom condition for scrip ?
Gilles-Eric Descamps
ged at azulsystems.com
Thu Jul 10 21:45:53 EDT 2003
Hi,
Anybody has example code showing how to implement a custom condition
that would filter based on Requestor email ?
I'd like to replace the "On Create" by
something like:
# re-implement the code to verify " On Create ", and add
if ( not $self->TicketObj->Requestors->MemberEmailAddresses =~ m/domain.com$/
) {
# abort action
return undef;
} else {
# execute action
return 1
};
Thanks,
--
Gilles-Eric DESCAMPS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20030710/79b332dc/attachment.htm>
More information about the rt-users
mailing list