Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Transform

Updated on March 4, 2022

The regular expression defined in a transform rule is executed against the subject text block. It acts as a filter and allows text to pass into the Java function below if it meets the criteria set forth in the expression. The Java transform function may then either return the selected text, a part of it, or process it further. A return of null is considered not foundand processing within the collection continues.

For example, when searching for an amount of currency, an expression looks for a separate group of three alphabetic characters adjacent to a group of up to 16 numeric characters (with embedded punctuation). The amount is valid only if this pattern is found and if the three alphabetic characters are recognized as a valid currency code. The number is then processed to remove all punctuation except the fraction indicator, which is set to be a period. Only then is a result returned.

Reference IDs will most likely need to be changed, so you will need to change the Recipients Inquiry Reference parsing rule to look for the correct ID. Smart Investigate for Payments uses the ID to identify the case to which the incoming message applies.

To update the ID, save the transform rule named FindRecInqRef in the class PegaSI-Work- to your ruleset. The following shows a sample FindRecInqRef transform rule.

Change the regular expression (shown below) used to filter the reference ID.

The parentheses are important, and changing them will break the current transformation. However, you can change the contents. For the new ID, change PEG(shown in bold text in the expression) to any three alphabetic characters. You can also create new and different rules both in your rulesets as well as in different work classes.

Pega Smart Investigate for Payments Implementation Guide

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us