Off the top of my head I see 2 different ways to do this
1 - Create 2 Filters
Filter 1 sets a temp Display Only Integer field to the length of
the body
Filter 2 (if the Length 5000) uses the Notify action to either
send a message back to the sender or write to a log file (using the
Other mechanism)
Filter 2 would also need to be in a Phase 1 action ( `! at the end
of the name)
2 - Only push the first 5000 characters into the Description of the
Incident (using the LEFT function in the push). If you have an
attachment field you can also push the full inbound email (using the
Plain Text or RTF Attachment availabile on the AR System Email Messages
form) into an attachment on the ticket.
Fred
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Pierce, Amanda (TBS)
Sent: Friday, February 22, 2008 6:28 AM
To: arslist@ARSLIST.ORG
Subject: Email Error Log Question...
**
All,
I have a process in place to where certain emails are forwarded to our
server email from another account. Based on the TO information, I have a
filter that picks up this email and creates an Incident. I am currently
setting the Body of the email into a description field that is 5000
characters long.
If by chance, the Body of the email is 5000 chr, the email engine
submits a record to the Email Error Log that says:
MessageType: 2
MessageNum: 306
MessageText: Value does not fall within the limits specified for the
field
AppendedText: (Maximum length- 5000) : TTS:HlpDskTkt :
Description
Message will be deleted without logging in email messages form because
there is an error on submit.
And, obviously it deletes the Email record.
Is there any way for me to capture who the email was sent From, contents
of the email or anything so that I can at least send an email back to
them letting them know the incident was not submitted and they need to
shorten the email?
ARS 7.0.01 patch 002
Oracle 10gR2
Thank you!
Amanda
___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: Where the Answers Are