Use Variable in Date Input


I want to use flow variables as default, min and max values for a Date Input field.

I'm not able to get the format of the string right, I'm trying 'yyyy-mm-dd', 'yyyy-mm-dd:hh:mm' and other abbreviations but I always get the message could not parse date.

Is it possible to define those default values with flow variables? It's supposed to be input for a WebPortal Workflow so the mechanic is rather crutial.


you can use the java sniipet node to achieve this



Edit the variable with the Java Edit Variable node to the desired outcome? 

I attached a minimal workflow to illustrate what I intend to do.

The correct format is 'yyyy-MM-dd;HH:mm:ss.S' -