{"record":{"id":"877339fc425506f1","repo":"flowable/flowable-engine","slug":"couldn-t-resolve-duedate-e-getmessage","errorCode":null,"errorMessage":"couldn't resolve duedate: ${e.getMessage()}","messagePattern":"couldn't resolve duedate: (.+?)","errorType":"exception","errorClass":"org.flowable.common.engine.api.FlowableException","httpStatus":null,"severity":"error","filePath":"modules/flowable-engine-common/src/main/java/org/flowable/common/engine/impl/calendar/DueDateBusinessCalendar.java","lineNumber":62,"sourceCode":"                    duration = Duration.parse(duedate);\n                } else {\n                    int timeIndex = duedate.indexOf('T');\n                    if (timeIndex > 0) {\n                        period = Period.parse(duedate.substring(0, timeIndex));\n                        duration = Duration.parse(\"P\" + duedate.substring(timeIndex));\n                    } else {\n                        period = Period.parse(duedate);\n                        duration = Duration.ZERO;\n                    }\n                }\n\n                return Date.from(calculateTime.plus(period).plus(duration).toInstant());\n            }\n\n            return DateUtil.parseDate(duedate);\n\n        } catch (Exception e) {\n            throw new FlowableException(\"couldn't resolve duedate: \" + e.getMessage(), e);\n        }\n    }\n}\n","sourceCodeStart":44,"sourceCodeEnd":66,"githubUrl":"https://github.com/flowable/flowable-engine/blob/d6d39ce1c69ff244f2d9dc6af756a9b95e865586/modules/flowable-engine-common/src/main/java/org/flowable/common/engine/impl/calendar/DueDateBusinessCalendar.java#L44-L66","documentation":"Wrapper thrown by DueDateBusinessCalendar.resolveDuedate: parsing the configured duedate (ISO period/duration arithmetic) raised an exception; the underlying parse error message is appended. The duedate string does not conform to the expected date/period format.","triggerScenarios":"Thrown at modules/flowable-engine-common/src/main/java/org/flowable/common/engine/impl/calendar/DueDateBusinessCalendar.java:62 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Fix the duedate to a valid ISO-8601 date, period or duration","Inspect the cause in the stack trace to see the exact parse failure"],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"d6d39ce1c69ff244f2d9dc6af756a9b95e865586","analyzedAt":"2026-09-11T06:41:19.413Z","contentChangedAt":"2026-09-11T06:41:19.413Z","schemaVersion":2},"datasetVersion":"2026-09-18T11:17:12.947Z"}