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

Decimal values returned by SOAP Service are mapped incorrectly

SA-47921

Summary



User is having a Connect-SOAP that maps integers returned by SOAP Service to Decimal properties on Clipboard.

User has reported that in Pega 7.2.2 the values values were getting mapped to decimal properties on clipboard as number(integer without decimals).

But in Pega 7.3 the same values returned by SOAP Service are mapped as double value to clipboard.

For example in Pega 7.2.2, the number 1000000001 was mapped to a decimal property as 1000000001 where-as in Pega 7.3 the same value is mapped to a decimal property on clipboard as 1.000000001E9.


Error Messages



Not Applicable


Steps to Reproduce

  1. Create a Connect-SOAP integration.
  2. Map an integer value returned by Service to a decimal property on the clipboard. The value returned by service is mapped to clipboard as a double value.


Root Cause



An issue in the custom application code or rules is identified as root cause.

Pega parses all values received from service as text and the values are mapped to clipboard based on property type on Pega side.

In previous Pega versions when integer values were mapped to decimal properties on clipboard they were still represented as integer values (and not decimal value) due to a bug in Pega which is fixed in Pega 7.3 causing the reported change in behavior. 


Resolution




Perform the following local-change:

Set the below DSS to continue using the previous behavior:
Purpose : SwitchToOldAssembler
Owning Ruleset : Pega-IntegrationEngine
Value : true
Suggest Edit

Published July 23, 2018 - Updated October 8, 2020

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