Support Article
Activity fails when comparing string to a datetime
SA-25785
Summary
If an Activity that tries to compare a DateTime to a String, even if the String has a value copied from a DateTime, it fails with the below error.
Error Messages
** ** PropertyValueInvalid param.AssignmentKey .pegaToBigDecimal() Invalid number format (was 20160712T185715.393 GMT)
Steps to Reproduce
Compare two datetimes in an activity.
Root Cause
A String and a DateTime cannot be directly compared. Adding in this functionality was determined to be a product enhancement request.
Resolution
An enhancement request, FDBK-16131, has been created for consideration by Pega Product Management.
Published July 27, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.