Question
Capgemini
MX
Last activity: 12 Dec 2022 20:39 EST
Integer properties longer than 10 digits are not considered numbers
I am validating with a When Rule an integer property (of 15 digits) to validate that it is an integer using the isInteger function, but when the number has more than 10 digits, PEGA does not consider it an integer and returns false. To test, I tried to pass an integer and text type parameter in the When Rule and I get the same result, integer or text properties of more than 10 digits, it are not numbers for PEGA. I also tried using the OOTB Edit Validate "IsInteger", but the result is the same
I am validating with a When Rule an integer property (of 15 digits) to validate that it is an integer using the isInteger function, but when the number has more than 10 digits, PEGA does not consider it an integer and returns false. To test, I tried to pass an integer and text type parameter in the When Rule and I get the same result, integer or text properties of more than 10 digits, it are not numbers for PEGA. I also tried using the OOTB Edit Validate "IsInteger", but the result is the same
It's a PEGA bug?