Another Idea is to put an error handler on the filter that does the Push to the 
staging form.  This will "absorb" the error and prevent blocking the creation 
in the AR System Email Messages form.

Fred

From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG] On Behalf Of Pierson, Shawn
Sent: Tuesday, April 17, 2012 1:31 PM
To: arslist@ARSLIST.ORG
Subject: Re: Complex incomming email processing

**
The one "style" argument I would have with that technique deals specifically 
with how to move incoming emails from the AR System Email Messages Form to the 
staging form.  He uses a Filter, and rightly cautions, "The Java process that 
runs the email engine will fail to create an entry in the "AR System Email 
Messages" form if the "Run If" fails."  The way I prefer to avoid that problem 
is to use an Escalation that runs on a short interval instead of using a 
Filter.  It is more overhead on the server and creates a delay, but not so much 
that it's a burden, and it completely eliminates the possibility of you 
accidentally writing code that messes up the email engine in some way.

Again, it's just a style argument as both work perfectly fine on the happy 
path, but I wanted to point out that there may be a safer option with an 
Escalation in case you make a mistake as a developer.

Thanks,

Shawn Pierson
Remedy Developer | Energy Transfer

From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG] On Behalf Of Thad Esser
Sent: Monday, April 16, 2012 3:30 PM
To: arslist@ARSLIST.ORG
Subject: Re: Complex incomming email processing

**
Jose,

William Rentfrow had a blog post a few years ago that I found useful.  There's 
5 parts, but part 3 is where the details start:
http://williamrentfrow.com/automating-service-bmc-remedy-email-engine-part-3/
Thad
On Mon, Apr 16, 2012 at 4:07 AM, Jose Huerta 
<jose.hue...@sm2baleares.es<mailto:jose.hue...@sm2baleares.es>> wrote:
**
Hi all,

I want to receive email from users, perform complex evaluations on it, and act 
accordingly.

For instance, If a pattern like INC____________ is found, then look for the 
incident, add the content of the email as a work info, where the sender must be 
the user corresponding to the sender address, and generate a response email. If 
not, send an error mail.

Well, My idea is to config an email inbox without parsing and create filters on 
AR System Email Messages form. Don't know if it's the better approach. Comments 
or suggestions?

Parsing engine at the email engine seems to be insufficient, because users can 
use a lot of formats.

Thanks,

Jose Huerta
http://theremedyforit.com/



_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"

Reply via email to