[rt-users] Need to send "Big Cheese" email based on requestor's email or group membership

Christian Loos cloos at netcologne.de
Fri Jan 17 02:47:51 EST 2014


Hi,

for this type of requests we create an group inside RT, add all email
adresses (RT User) to this Group, add all User that should be notified
as AdminCc to the queue and then create a scrip (replace xxx with the
"Big Cheese" group id):

Condition: User Defined
Action: Notify AdminCcs
Template: you custom email template
Stage: TransactionCreate
Custom condition:

return 0 unless $self->TransactionObj->Type eq 'Create';
my $CreatorObj = $self->TransactionObj->CreatorObj;
my $GroupObj = RT::Group->new(RT->SystemUser);
$GroupObj->Load(xxx); # Big Cheese Group Id
return 1 if $GroupObj->HasMember($CreatorObj->PrincipalId);
return 0;


Chris



More information about the rt-users mailing list