We have a custom web application that is using Flowable 6.8.0 and it is building its forms externally (analyzing tasks form fields and building HTML forms)
We have detected that flowable manage different date patterns in order to load FormInfo object depending task is finished or not.
We are calling TaskService.getTaskFormModel(taskId) method to get the FormInfo filled with the task values.
If the task is active, flowable is calling GetFormModelWithVariablesCmd.fillFormFieldValues that is applying “yyyy-M-d” date pattern to put string representation on the variables field.
However, if the task is finished, flowable is calling AbstractGetFormInstanceModelCmd.fillFormFieldValues that is applying “d-M-yyyy” date pattern.
Is that behavior correct?
Thanks for advance