Case id is created as per GMT timezone instead of CET.

As per the requirement Case id should be created accordingly current date time stamp. Pega is taking GMT as reference time zone and created a case with earlier date when current date time is in CET timezone.

Any idea if pega has any feature to overcome this?

@ShatakshiB17078376

Please provide your current configuration. Usually there is an option to update timezone as per your requirement.

@SohamM95

Thank you for your response.

According to the requirement our case id prefix should have current date of case creation time in CET timezone. In our current configuration case id is created through pega OOTB “AddWork” Activity. In this activity there is another pega OOTB activity “GenerateID” where work object id is constructed, here timezone is taken as GMT which is 2 hours behind than CET timezone. Consequently during 12 am to 2 am CET (which is 10 pm to 12 am GMT of previous date) whenever case creation activity is called it take currentdatetime() as GMT time (which is previous date) and case is created according to the date of that GMT timestamp. So we would like to know if pega has any solution to create case according to CET timezone.

Please refer the attachment for prefix code snippet.

Shatakshi

@ShatakshiB17078376

You’re right Pega takes the currentdatetime in GMT. You might need to override the rule in your ruleset and pass the datetime in your required timezone.

@SohamM95

Alright, thank you for the response.

Shatakshi