<p>Many thanks : this exactly what i was looking for !<br>
</p>
<div class="gmail_quote">Le 17 janv. 2014 14:34, "Emmanuel Lacour" <<a href="mailto:elacour@easter-eggs.com">elacour@easter-eggs.com</a>> a écrit :<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thu, Jan 16, 2014 at 06:57:12PM +0100, Eric MAISONOBE wrote:<br>
><br>
> So i have 2 questions :<br>
> -> what's the way to check if the comment creator is "Enoch root", and in<br>
> this case (and only in this case) to notify the comment to<br>
> 'OtherRecipients',<br>
<br>
Something like this (untested):<br>
<br>
my $RootUser = RT::User->new( $self->CurrentUser );<br>
$RootUser->Load( 'root' );<br>
if ($Transaction->CreatorObj->id == $RootUser->id ) {<br>
...<br>
<br>
<br>
> -> moreover, where can i found the code corresponding to default<br>
> conditions and actions pre-existing in RT web interface ?<br>
<br>
Conditions: lib/RT/Condition/*.pm<br>
Actions: lib/RT/Action/*.pm<br>
<br>
<br>
--<br>
Easter-eggs Spécialiste GNU/Linux<br>
44-46 rue de l'Ouest - 75014 Paris - France - Métro Gaité<br>
Phone: <a href="tel:%2B33%20%280%29%201%2043%2035%2000%2037" value="+33143350037">+33 (0) 1 43 35 00 37</a> - Fax: <a href="tel:%2B33%20%280%29%201%2043%2035%2000%2076" value="+33143350076">+33 (0) 1 43 35 00 76</a><br>
mailto:<a href="mailto:elacour@easter-eggs.com">elacour@easter-eggs.com</a> - <a href="http://www.easter-eggs.com" target="_blank">http://www.easter-eggs.com</a><br>
</blockquote></div>