Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Agent hangs trying process email



Agent hangs while trying to parse an email to find a Swift message.
PRPC thread are hanging during parsing of an email with the Parse Transform rule: IsSwiftMessage.
The processing takes ages (we don't see the end of it).
The issue is seen with some email which are larger than usual (400 Kb).

Error Messages

Not Applicable.

Steps to Reproduce

Launch the SI manager portal with sisyadmin user.
Then click "New", select MsgCase and "Generic Message".
Copy a large email message in Inbound Message field and click "Create".

Root Cause

A defect in Pegasystems’ code or rules.
The regex used is inefficient. While it produces the expected result, it consumes a lots of CPU for large email.


Perform the following local-change:

In the IsSwiftMessage parse rule, use the following regular expression:
We also need to modify the java code to sReturn=aMatchGroups[0]; 


Suggest Edit

Published July 2, 2016 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us