Thanks you are right, it seems not to be possible to use a pre-defined and additionally a user-defined condition.
So I set my condition to user-defined and put the following in the Custom condition:
return($self->TransactionObj->Type eq “Create” && $self->TicketObj->QueueObj->Name ne “Backoffice”);
Many thanks and best regards, Greg
-----Message d’origine-----De : email@example.com [mailto:firstname.lastname@example.org] De la part de Gerard FENELON
Envoyé : mardi 5 avril 2011 12:34
À : email@example.com
Objet : Re: [rt-users] scrip custom condition problem on rt-3.8.1
I believe that is not possible
It is : either you use a pre-defined condition or you use a user-defined
but you cannot add a condition to a pre-defined condition.
Which means that you have to use a user-defined condition and in it
detect a “Create” transaction and then add your own.