Skip to main content
3-Newcomer
July 18, 2025
Question

Windchill audit purge schedule failed

  • July 18, 2025
  • 3 replies
  • 374 views
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

    Marco Tosin
    21-Topaz I
    21-Topaz I
    July 18, 2025

    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
    22-Sapphire II
    August 6, 2025

    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

    avillanueva
    23-Emerald I
    23-Emerald I
    August 6, 2025

    Didn't even know that was possible.