PropertyValueInvalid TestAmt .pegaToBigDecimal() Invalid number
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.
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
PropertyValueInvalid TestAmt .pegaToBigDecimal() Invalid number format (was 25.000.00000)
Steps to Reproduce
Create a general message swift or email that contains
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.
This is working as designed.
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.