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?

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to