Skip to main content
LinkedIn
Copied!

Table of Contents

Event time format is invalid

Version:

Only available versions of this content are shown in the dropdown

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.

Cause

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.

Solution

  1. 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 Pega Platform is YYYYMMDD'T'HHmmss.SSS.

    Date format property in the Real-Time Data shape
    The date format is set to the default value.

Related Content

Did you find this content helpful?

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