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

Activity fails when comparing string to a datetime



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.


An enhancement request, FDBK-16131, has been created for consideration by Pega Product Management.


Published July 27, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

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