DateTime set "01-01-1970" when property value is empty
After applying the Parse-XML rule, the Date type element is set to "01-01-1970", when the referenced source Clipboard Property value is empty
Steps to Reproduce
1. Create Page with DateTime property.
2. Create XML Stream.
3. Run XML Steam on created page with emply DateTime property.
It is a default behavior to set the Date to epoch date, that is 01-01-1970, when any java operations are performed on an empty Date/DateTime type property.
However in Pega 7.1.8 there are two Dynamic System Settings that affects the way Date/DateTime property are evaluated when they are empty or have "0" as value.
That is. when the DSS is set to true, an empty Date or DateTime type property value is not converted to epoch date.
User is suggested to set the following Dynamic system setting's value to "true".
1. for Date property : use dynamic system setting "disableEpochDate".
2. for DateTime property : use dynamic system setting "disableEpochDateTime".
both of these DSS's owning ruleset is "Pega-IntegrationEngine".
50% found this useful