[rt-users] Costum Condition AdminCC Notification

Raed El-Hames Raed.El-Hames at daisygroupplc.com
Fri Sep 9 06:10:16 EDT 2011


Chris,

I would guess client == Requestor?
I would disable the scrip On Create notify AdminCC and create a new one with Action Notify Admin but with User defined condition.
Your condition code will depend how you can distinguish that the requestor is not a member of the admincc group, for example if you expect the requestors to be from a different domain to your admin cc you can try;

If ($self->TransactionObj->Type eq ‘Create’ and $self->TicketObj->Requestors->MemberEmailAddressesAsString !~ /your_admincc_\@domain/) {
  return 1;
} else {
 return undef;
}

Roy



[cid:image76a71f.GIF at 4a6e17ec.45ab3aa4]

Visit our website today www.daisygroupplc.com<http://www.daisygroupplc.com>

Registered Office: Daisy House, Lindred Road Business Park, Nelson, Lancashire BB9 5SR
Company Registration Number: 4145329 |   VAT Number: 722471355

Daisy Communications Limited is a company registered in England and Wales.

DISCLAIMER

This email (including any attachments) is strictly confidential and may also be legally privileged. If the recipient has received this email in error please notify the sender and do not read, print, re-transmit, store or act in reliance on the email or its attachments and immediately delete this email and its attachments from the recipient’s system. Daisy Communications Limited cannot accept liability for any breaches of confidence arising through use of email. Employees of Daisy Communications Limited are expressly required not to make any defamatory statements and not to infringe or authorise any infringement of copyright or any other legal right by email communications. Any such communication is contrary to the company’s policy and outside the scope of the employment of the individual concerned. Daisy Communications Limited will not accept any liability in respect of such a communication, and the employee responsible will be personally liable for any damages or other liability arising.

If you are the intended recipient of this email please ensure that neither the email nor any attachments are copied to third parties outside your organisation or saved without the written permission of the sender.  In the event of any unauthorised copying or forwarding, the recipient will be required to indemnify Daisy Communications Limited against any claim for loss or damage caused by any viruses or otherwise.

WARNING: Computer viruses can be transmitted by email. The recipient should check this email and any attachments for the presence of viruses. Daisy Communications Limited accepts no liability for any damage caused by any virus transmitted by this email or any attachments.

NOTICE TO CUSTOMERS

If you have ordered a telephone number from Daisy Communications Limited (non-geographic or new line installation) please do NOT arrange for any form of advertising until the number is live and tested.
From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Christian Bauer
Sent: 09 September 2011 10:09
To: rt-users at lists.bestpractical.com
Subject: [rt-users] Costum Condition AdminCC Notification

Hello there.

Maybe you can help me with this issue.
I want RT only to send AdminCC Notifications on ticket create if the client is not equal to the owner.

I need it because, if an admin creates a ticket on his own behalf, the other admins should not be  notified.

Thank you in advance

Cheers
Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110909/77a23076/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image76a71f.GIF
Type: image/gif
Size: 11131 bytes
Desc: image76a71f.GIF
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110909/77a23076/attachment.gif>


More information about the rt-users mailing list