[rt-users] scrip custom condition problem on rt-3.8.1

Gregor Bruhin G.Bruhin at ch.ccv.eu
Tue Apr 5 06:42:56 EDT 2011


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 : rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] De la part de Gerard FENELON
Envoyé : mardi 5 avril 2011 12:34
À : rt-users at lists.bestpractical.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 
condition
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.

Gerard

On 2011-04-05 12:25, Gregor Bruhin wrote:
> Hi All,
>
>
> I'm trying to add a special condition to an existing scrip (Scrip 3 On Create Autoreply To Requestors).
>
> I just put return 0; in the scrip custom condition field and I notice that the scrip is still executed, any ideas why  and how to debug ? In syslog I just see the scrip is executed and an autoreply is sent.
>
>
> Best regards, Greg




More information about the rt-users mailing list