[rt-users] scrips with more than one transaction
Alexandre de Medeiros Ribeiro
alexandre.medeiros at camara.gov.br
Fri May 16 09:37:51 EDT 2008
Hi all,
I want create this scrip:
condition: user defined
action: create tickets
template: my template
stage : transaction create
custom condition:
#test if this ticket is now created
return 0 unless $self->TransactionObj->Type() eq 'Create';
#test if my cf has value 'work'
return 0 unless $self->TicketObj->FirstCustomFieldValue('cf')
eq 'work';
return 1;
=================
My second test doesn't work because when the transaction type
is create
the value of cf is null (2 diferent transactions).
How can i solve this problem?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20080516/565294ad/attachment.htm>
More information about the rt-users
mailing list