Many thanks : this exactly what i was looking for ! Le 17 janv. 2014 14:34, "Emmanuel Lacour" <elac...@easter-eggs.com> a écrit :
> On Thu, Jan 16, 2014 at 06:57:12PM +0100, Eric MAISONOBE wrote: > > > > So i have 2 questions : > > -> what's the way to check if the comment creator is "Enoch root", > and in > > this case (and only in this case) to notify the comment to > > 'OtherRecipients', > > Something like this (untested): > > my $RootUser = RT::User->new( $self->CurrentUser ); > $RootUser->Load( 'root' ); > if ($Transaction->CreatorObj->id == $RootUser->id ) { > ... > > > > -> moreover, where can i found the code corresponding to default > > conditions and actions pre-existing in RT web interface ? > > Conditions: lib/RT/Condition/*.pm > Actions: lib/RT/Action/*.pm > > > -- > Easter-eggs Spécialiste GNU/Linux > 44-46 rue de l'Ouest - 75014 Paris - France - Métro Gaité > Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 43 35 00 76 > mailto:elac...@easter-eggs.com - http://www.easter-eggs.com >