Our company and many others are guilty of adding to our emails what the Economist has called "one of the minor nuisances of modern office life" -- boilerplate legalese about the email (confidentiality, etc), which is irrelevant to the content. Unlike signatures, the sender can't suppress them -- which is often desired when being sucked into a BPM system which imports emails.
Does Pega have any guidance here?
Might there be some Internet-wide standard one of these days?
I would approach that as a Java step in the Activity that processes the incoming email. Use emailBody.replaceAll() where uniquely matches the entire boilerplate text block. This will be very easy if the text is wrapped in a named or similar tag.
If @(Pega-RULES:String).replaceAll(...) supports regular expressions, that would work just as well in a Property-Set step.
Posted: 8 years ago
Posted: 19 Feb 2015 10:45 EST
Jon Garfunkel (JonnyGar)
Vice President, BPM CoE