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

System does not set correct worktype

SA-56451

Summary



An application based on Pega Smart Investigate for Payments (SIP) uses a Parse Transform Collection which is a set of rules that set the work type based on incoming inquiry message's content.
A new Transform rule is added to the list in PegaSI-Work-!FindWorkTypeCollection. This rule does not work as part of the FindWorkTypeCollection when the rule is exported to another system.



Error Messages



Maintainability warning message / Moderate
The rule type Parse Transform is deprecated and should no longer be used. Please use the @pxReplaceAllViaRegex utility Function for advanced parsing instead.



Steps to Reproduce

  1. Copy an existing Transform rule as a new rule and set the regular expression to '\b(SEND).{0,10}(COVER).{0,10}(WITH).{0,10}(GOOD)\b'.
  2. Configure the expression to return a specific worktype
  3. Add a new row in PegaSI-Work-!FindWorkTypeCollection and refer to Transform rule that is created.
  4. Modify the PegaSI-!DoGetReferences_parse activity such that it stores the jgWrkType.pxMatchTransform in a property.
  5. Export the ruleset version from the Development to the Test system.
  6. Add a new incoming SWIFT message to the system.


Root Cause



The Parse Transform Collection, Parse Transform, and Parse Infer are obsolete rules. The Integration-Mapping category records do not have these rules any longer. However, these rules can be created by performing a 'Save As' of the existing rules present in SI application. These rule types are used to perform critical financial processing.
When these rules are created by copying from the existing rules, the application cannot retrieve them. As a result, the correct work type is not set due to incorrect referencing.


Resolution



Perform the following local-change:
  1. Navigate to Designer Studio.
  2. Open the Revalidate and Save wizard.


     
  3. Perform the Revalidate and Save on instances of the following classes which belong to the application ruleset where they are created.
  • Rule-Parse-TransformCollection
  • Rule-Parse-Infer rules.

 

Suggest Edit

Published January 4, 2019 - 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