Invalid date value

@aravindhrs Thank you, but the type of variable date is date, so it is saved in database as date. but the function serviceForm.getTaskFormData(taskid) threw the exception when it try to parse the value in expression ${date}.
I solved that by changing the parameter type to string and start the process with formatting the date to string and parse it when needed using the same format.