Question

Behavior of a string property with value set from a double property

v7.3.1

We connect to an API which returns a numerical value and the integration wizard has generated a double property for this attribute. We have a String property in the application which will now be set with the value from this integration response property (of data type double).

Behavior based on the tests I have done so far -

Integration property value (double) - 12345

Application property value (string) - 12345.0

Integration property value (double) - 1234567

Application property value (string) - 1234567.0

Integration property value (double) - 12345678

Application property value (string) - 12345678

If the value for the double property is between -9999999 to 9999999, the String property has a decimal point added to it as mentioned above in the examples.

Question:

Can anyone explain this behavior please?

Comments

Keep up to date on this post and subscribe to comments

December 9, 2019 - 1:32am

Hi @LEELABIRAMS6337,

Kindly verify and let us know if max-length for the string property is configured to a specific length below which we see the reported behavior of decimal point been added.

Regards,

Priyabharathi

December 9, 2019 - 3:29am
Response to Priyabharathi

Thank you for your response. 

There are no validations on the properties Advanced tab including the max length.