Okay, I modified the original "On create notify requestors" and put that code in. Got nothing. Created a new "On create set priority" and it still didn't do anything.
-Mark -----Original Message----- From: Christian Loos [mailto:cl...@netcologne.de] Sent: Wednesday, August 04, 2010 3:54 AM To: Mark Jenks Cc: rt-users@lists.bestpractical.com Subject: Re: Email Priority. Create a scrip 'On Create' with the following 'Custom action cleanup code': my $ticket; my $attachment = $self->TransactionObj->Attachments->First; return 1 unless $attachment; my $prio = $attachment->GetHeader('Priority'); return 1 unless $prio; if ( $prio eq 'Urgent' ) { $ticket->SetPriority(50); } return 1; -chris Am 03.08.2010 20:17, schrieb Mark Jenks: > Is there a way to set a ticket priority to 50 if the user sets the Email > from outlook to Urgent? > > > > Inside of the headers of the email exists "Priority: Urgent". > > > > Can that be checked and acted on when a ticket gets created? > CONFIDENTIALITY NOTICE: The information contained in this email message, including any attachments, may be privileged, confidential and otherwise protected from disclosure. If the reader of this message is not the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this message, including any attachments, is strictly prohibited. If you have received this email message in error, please notify the sender by reply email and delete/destroy the email message, including attachments, and any copies thereof. Although we have taken precautions to minimize the risk of transmitting viruses via email and attachments thereto, we do not guarantee that either is virus-free, and we accept no liability for any damages sustained as a result of any such viruses. Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com