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.

Table of Contents

Event time format is invalid

During the processing of a data flow work item that contains an event strategy, the following error is displayed:

PropertyValueInvalid. TIME cannot cast the value (some string instead of date) to Date.


This error occurs when all of the following conditions apply:

  • The Event timestamp property of the Real-Time Data shape is configured to use the event time instead of the system time.
  • The incoming event JSON record contains a string that does not match the Date format property that is configured for the event time.


Perform one of the following actions to eliminate this error:

  • Configure the Date format property in the Real-Time Shape in the event strategy to match the format of the incoming event records.
  • Configure the data set that is the source of your events to insert the time in a format that matches the Date format property in the Real-Time Data shape in the event strategy. The default date format of the Pega 7 Platform is YYYYMMDD'T'HHmmss.SSS

Date format

Date format property in the Real-Time Data shape

Did you find this content helpful?

100% found this useful

Related Content

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

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