Date-error in embedded form "is not of Type Date"


#1

Hello,
I want to show a java.util.date process variable which I generated in a Service Task later on in an embedded form. The date is shown, but when I want to complete the User Task the following Error occured in the Browser. I hope somebody can help me. Best regards Armin

Code Snippet of the JavaDelegate-Class:

java.util.Date now = new java.util.Date();
execution.setVariable(“anmeldezeit”, now);

Code Snippet of embedded form:

  <input readonly 
  		 type="text" 
         cam-variable-name="anmeldezeit" 
         cam-variable-type="Date"
         required
         class="form-control" />

#2

Hi @awgn16,

I think it’s related to this issue: https://app.camunda.com/jira/browse/CAM-9132.

Cheers, Ingo


#3

Hi Ingo,
thanks for your hint. Unfortunately in my project I need that functionality. Does anyone know how long it takes to fix the bug? Do you have ideas for a workaround?

Cheers
Armin