Hi! The forum posts on this seem to be from 2010 and earlier, and although I’ve tried them all, I can’t get them to work and I’m wondering if they’re slightly out of date.
Here’s what I’ve got so far.
Custom condition:
Do not modify below this
my $trans = $self->TransactionObj;
return 0 unless $trans->Type eq “Create”;
my $t_subject = $self->TicketObj->Subject;
if ( $t_subject !~ /TEST111/i ) {
return 1;
}
else {
return 0;
}
Custom action preparation code:
return 1;
Custom action commit code:
Here’s where I think I’m way off base. If my first 2 sections look OK, can anyone suggest how to write the 3rd?