Re: [rt-users] Question arround scrip and custom condition on comment

2014-01-15 Thread Emmanuel Lacour
On Mon, Jan 13, 2014 at 06:24:31PM +0100, Alexandre LEPREVOST wrote: Hello everyone I'm wondering how to do something simple. I would like to call a script not on comment but after the comment insert in the database. Actually this is my condition : return 0 unless

Re: [rt-users] Question arround scrip and custom condition on comment

2014-01-15 Thread Kevin Falcone
On Mon, Jan 13, 2014 at 06:24:31PM +0100, Alexandre LEPREVOST wrote: I'm wondering how to do something simple. I would like to call a script not on comment but after the comment insert in the database. This is how Scrips work. They happen after the transaction is created (hence the

[rt-users] Question arround scrip and custom condition on comment

2014-01-13 Thread Alexandre LEPREVOST
Hello everyone I'm wondering how to do something simple. I would like to call a script not on comment but after the comment insert in the database. Actually this is my condition : return 0 unless $self-TransactionObj-Type eq Comment; return 1; But the script is called when I click on comment,