Re: [rt-users] scrip not working after upgrade

2009-12-15 Thread Nicolas GUIOT
OK, it works now Thx On Mon, 14 Dec 2009 22:08:29 +0300 Ruslan Zakirov wrote: You have this behaviour because of value in Custom Condition drop down, it should be user defined. Custom code only used with this condition. On Mon, Dec 14, 2009 at 12:35 PM, Nicolas GUIOT

Re: [rt-users] scrip not working after upgrade

2009-12-14 Thread Nicolas GUIOT
Hi, I still have exactly the same behaviour : your ticket has been rejeted Status: open Please, everyone, just let me know how YOU warn users that their ticket has been rejected. Nicolas On Fri, 11 Dec 2009 12:52:20 -0800 Ken Crocker wrote: Nicolas, Try this: # Custom Condition #

Re: [rt-users] scrip not working after upgrade

2009-12-14 Thread Ruslan Zakirov
You have this behaviour because of value in Custom Condition drop down, it should be user defined. Custom code only used with this condition. On Mon, Dec 14, 2009 at 12:35 PM, Nicolas GUIOT nicolas.gu...@risc-group.com wrote: Hi, I still have exactly the same behaviour : your ticket has been

[rt-users] scrip not working after upgrade

2009-12-11 Thread Nicolas GUIOT
Hi everyone, I'm upgrading from 3.6.1 to 3.8.6, and having (until now) just a last bug : I had a scrip that was doing the following : if a ticket has been rejected, then email the user so that he knows about it. This was made like this : Condition : On Status Change Action : Notify

Re: [rt-users] scrip not working after upgrade

2009-12-11 Thread Ken Crocker
Nicolas, Try this: # Custom Condition # my $trans = $self-TransactionObj; return ($trans-Type eq Status $trans-NewValue eq rejected); Kenn LBNL On 12/11/2009 1:47 AM, Nicolas GUIOT wrote: Hi everyone, I'm upgrading from 3.6.1 to 3.8.6, and having (until now) just a last bug : I