[rt-users] Add a Condition as a perl module

Sebastien Person sebastien.person at easter-eggs.com
Wed Mar 31 05:17:21 EST 2004


Hi,

I'm trying to add a Scrip Condition as a perl module. I have 2 questions :

1 - Where the file must be (I'm not sure that the local directory could be used)
? 
rt/lib/RT/Condition/MyCondition.pm or rt/local/lib/RT/Condition/MyCondition.pm

2 - I must insert a row in the DB. I can use the RT::ScripCondition->Create()
to achieve this, but I have a question about the 'ApplicableTransTypes' 
columns. Is it possible to fill it with 'Correspond,Comment' in the same row ?
I would like my scrip to be fired in Correspond or Comment transaction type....


Any hints would be appreciated...
 



More information about the rt-users mailing list