Parse XML maps numeric value to decimal property incorrectly
An external SOAP request is called. The SOAP XML contains a Pega Decision Strategy Manager (DSM) interaction ID which is a long numeric value. This XML is passed to a Parse XML to extract the interaction ID and perform DSM related tasks with the ID
The Parse XML maps the interaction ID to a decimal property. After mapping, the decimal value looses precision and hence is set to an incorrect numeric value.
Steps to Reproduce
- Create an XML containing a Decision Interaction ID.
- Use parse XML to parse the XML.
- Map the interaction ID to a decimal type property.
A defect in Pegasystems’ code.
The String value was converted to a Decimal value and a parseDouble was performed.
Published January 4, 2019 - Updated October 8, 2020
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.