[ Answering self ]

    # custom condition
    if ($self->TransactionObj->Type eq "Create") {
        return 1;
    }

    # other custom condition code here...

On 5/10/2010 2:43 PM, Jeff Blaine wrote:
Probably an easy answer to this one.

I have a custom condition for a scrip which deals with a
custom field. The condition and the rest of the code all works
great, except when the submitted ticket is *brand new*
(New ticket in --> queuename).

I would like to add to my custom condition logic to ensure
that this case is also addressed.

How does one query for "is this transaction creating a new
ticket?"

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


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

Reply via email to