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

Blank Date fields populate with 01/01/1970 on creating new work

SA-62288

Summary



On creating a new work object through integration services (Service Email or Service SOAP), the blank Date fields are populated with 01/01/1970.


Error Messages



Not Applicable.


Steps to Reproduce

  1. Create a work object with any one of the Integration services (Service SOAP or Service Email)
  2. Map the Date and DateTime field on the XML Stream and Parse XML
  3. Run the flow. The blank date fields default to 01/01/1970


Root Cause



This is an expected behavior if the Date field is empty.


Resolution

Perform the following local-change:
  1. Add the below Dynamic System Setting:
     
    Owning Ruleset Setting Purpose
    Pega-IntegrationEngine disableEpochDate
    Pega-IntegrationEngine disableEpochDateTime
  2. Add the XSD Base Type as 'dateTime' for the DateTime property field on XML Stream and Parse XML and for Date property as 'date'

Published August 31, 2018 - 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?

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