[forwarding to list]
Stephen,
I thought that return unless defaulted to return 1 unless, but I
changed it anyway.
I tried your set code and that didn't work. Any other ideas?
Kenn
LBNL
On 10/27/2008 12:44 PM, Stephen Turner wrote:
Kenn,
On Mon, 27 Oct 2008 15:35:40 -0400,
Hi!
2008/10/27 Kenneth Crocker [EMAIL PROTECTED]:
I thought that return unless defaulted to return 1 unless, but I
changed it anyway.
If you don't define a value, it is undefined. There is a special value
named 'undef' in Perl just for that. It evaluates to zero on numeric
comparison,
To all,
I'm trying to pre-set a ticket owner based on the value of an incoming
CF that is set during ticket creation. What I have is this
Condition: On Create
Action: User-Defined
Template: Blank
Stage: TransactionBatch
Custom Action Prep Code:
my $ticket = $self-TicketObj;
return
Kenn,
On Mon, 27 Oct 2008 15:35:40 -0400, Kenneth Crocker [EMAIL PROTECTED]
wrote:
Custom Action Prep Code:
my $ticket = $self-TicketObj;
return unless ($ticket-OwnerObj-Name() eq 'Nobody' );
You'll need to return 1 if you want to continue to action cleanup, 0
otherwise.
Custom