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

PropertyValueInvalid TestAmt .pegaToBigDecimal() Invalid number

SA-22495

Summary



When the SmartInvestigate application tries to parse a message, email or swift containing a currency amount  which is non correctly formatted like USD 25.000.000,00 or 25.000.000,00/USD, the inbuilt Parse rule raise an exception and a message case is created without assignment.

It is not important that amount is correctly parsed, because it's not possible to cover all cases. However, it is important that the parsing process is solid and message case is created correctly without errors.

 

Error Messages



If message case is created manually, appear only a FlowProblems:

Message: PropertyValueInvalid TestAmt .pegaToBigDecimal() Invalid number format (was 25.000.00000)

Resume (fixed) problem flow
Flow
FreeFormatTextParse
Step#
NormalizeData(ParseMessage)

Error
PropertyValueInvalid TestAmt .pegaToBigDecimal() Invalid number format (was 25.000.00000)


Steps to Reproduce



Create a general message swift or email that contains

USD 25.000.000,00
or
25.000.000,00/USD

1. Access to manager portal with [email protected].
2. Create a new message case MsgCase of type Generic Message.
3. Populate Message field with attached swift message and create.

 

Root Cause



This is working as designed.

Resolution



The Smart Investigate framework has been designed to prevent incorrect messages getting into the system.

Since the message contains incorrect current format of 25.000.000,00/USD, the validation will fail and the message case will not be created.

​This is working as expected as the application should not store an invalid Swift message which can be forwarded to third party or applications.

 

Published May 2, 2016 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration 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 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