@differenceBetweenDays not working properly and shows error
Error received from @differenceBetweenDays with Pega 7.1.8.
com.pega.pegarules.pub.runtime.IndeterminateConditionalException: ** PropertyValueInvalid param.your_property.pegaToBigDecimal() Invalid number format (was 20160125T050000.000 GMT)
Steps to Reproduce
The issue happens when the function is executed.
A defect in Pegasystems’ code or rules. Sometimes it happens that the "mode" of a property, for example integer, string is not known at runtime, and the system assigns it type "unknown".
This is valid, and the code should do a lookup in the Data Dictionary to get the exact type. It does not, but merely guesses that the property is an Integer, which is wrong.
Apply HFix-23182. If the problem persists, ensure the string parameter is converted to a datetime property prior to performing the datetime comparison.
0% found this useful