cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Translate the entire conversation x

Windchill audit purge schedule failed

MT_9140253
3-Newcomer

Windchill audit purge schedule failed

I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.1.5

We have changed the date format from yyyy-mm-dd to dd-MM-yyyy using the resourceCustomize.rbInfo.

Mosf of the customization are working fine. we are facing problem in Windchill Audit purge scheduler, it is not working as expected. When we try to purge it is expected the below date format.

Here are the errors that I faced
3594: 2025-07-14 12:20:40,674 ERROR [auditPurgeQueue.SchedulingThread] wt.audit.AuditReportHelper Administrator - Failed to generate Audit Report XML: (wt.query.template.templateResource/6) wt.util.WTException: The timestamp value "14-07-2025 12:20:40:549" could not be parsed. The value must be parsed using one of the following Java formats: "yyyy:MM:dd:HH:mm:ss z", "yyyy-MM-dd HH:mm:ss z", "yyyy:MM:dd:HH:mm:ss", "yyyy-MM-dd HH:mm:ss", "MM/dd/yyyy HH:mm:ss", "dd/MM/yyyy HH:mm:ss", "yyyy/MM/dd HH:mm:ss", "dd/MM/yy, h:mm a", "dd/MM/yy", "yyyy-MM-dd", "yyyy-MMM-dd", "yyyy/MM/dd", "yyyy/MMM/dd", "yyyy:MM:dd", "yyyy:MMM:dd", "yyyy,MM,dd", "yyyy,MMM,dd", "yyyy MM dd", "yyyy MMM dd", "MM/dd/yyyy", "MM-dd-yyyy", "MM:dd:yyyy", "MM dd yyyy", "MMM/dd/yyyy", "MMM-dd-yyyy", "MMM:dd:yyyy", "MMM dd yyyy", "dd-MMM-yyyy" . wt.query.qml.QMLException: (wt.query.template.templateResource/6) wt.util.WTException: The timestamp value "14-07-2025 12:20:40:549" could not be parsed. The value must be parsed using one of the following Java formats: "yyyy:MM:dd:HH:mm:ss z", "yyyy-MM-dd HH:mm:ss z", "yyyy:MM:dd:HH:mm:ss", "yyyy-MM-dd HH:mm:ss", "MM/dd/yyyy HH:mm:ss", "dd/MM/yyyy HH:mm:ss", "yyyy/MM/dd HH:mm:ss", "dd/MM/yy, h:mm a", "dd/MM/yy", "yyyy-MM-dd", "yyyy-MMM-dd", "yyyy/MM/dd", "yyyy/MMM/dd", "yyyy:MM:dd", "yyyy:MMM:dd", "yyyy,MM,dd", "yyyy,MMM,dd", "yyyy MM dd", "yyyy MMM dd", "MM/dd/yyyy", "MM-dd-yyyy", "MM:dd:yyyy", "MM dd yyyy", "MMM/dd/yyyy", "MMM-dd-yyyy", "MMM:dd:yyyy", "MMM dd yyyy", "dd-MMM-yyyy" .
3 REPLIES 3

What language is set by default for your browser?

There are several support articles that talk about problems similar to the one you are experiencing that depend on the language setting.

 

https://www.ptc.com/en/support/search/#q=The%20value%20must%20be%20parsed%20using%20one%20of%20the%20following%20Java%20formats&f-ts_category=Support

 

Marco
HelesicPetr
22-Sapphire II
(To:MT_9140253)

Hi @MT_9140253 

It seams that your new date format is not supported by the purge function. as the error do not mention your date format. 

PetrH

Didn't even know that was possible.

Announcements
Top Tags