Question

OOTB DateTime property- PySLADeadline value decreases by 1 day, if I do on change- refresh section

Hi,

I am using the OOTB DateTime property pySLADeadline (save as in the custom class from Work- Class) in the new Harness section of my Case Type.

Setting the default value for it using @addCalendar() function.

There are other fields on new Harness section where I have "On Change-Refresh Section" action on every field. Say fields are Country and State.

However, on every "On change - Refresh section" action, the pySLADeadline value is getting decreased by 1 day.

For eg. On loading of new Harness section pySLADeadline default value is set as 1/17/2019 and when I Change the Country field "On change-Refresh section" action gets called which changes the pySLADeadline value to 1/16/2019. And values goes on decreasing by 1 day till I do the "On change- refresh section" action on the fields-Country and State.

Not sure why this is happening.Tried to debug the issue in tracer but not able to come to a conclusion.

Please let me know , if any one has faced the similar issue.

Thanks,

Praveen

***Edited by Moderator: Pallavi to update platform capability tags***

Comments

Keep up to date on this post and subscribe to comments

Pega
January 7, 2019 - 3:40pm

Hi Vikram

What version of Pega are you on?

 

January 7, 2019 - 8:28pm
Response to mahab_GCS

Using  Pega 7.4.0

Pega
January 8, 2019 - 10:40am

Hi Vikram

As a diagnostic test, try to set a default value for the property instead of using the addCalendar function and see if the behavior is the same.

 

January 8, 2019 - 11:25pm
Response to mahab_GCS

Hi Mahab,

 

Issue is same if remove addCalendar function and use default value.

Problem is for only pySlADeadline OOTB property,if i create new property its working as expected its product defect.

pySlADeadline property i have saved in my work class