cancel
Showing results for 
Search instead for 
Did you mean: 

What is the format for dueDate?

pdelucia
Champ in-the-making
Champ in-the-making
Hello,

I am new to Activiti. I have, I think, everything setup. I am in eclipse, I have built and deployed some test business processes to the engine server (the demo server - I have yet to figure out how to build a real deployment, not demo, and deploy it to an existing tomcat server. Maybe this will be my next question). Anyway, In one of my user tasks, I simply want to enter a due date. I've tried 02/05/2012, 2/5/2012, 2012-02-05, and they all throw an exception after I deploy the process and try to start it.

There is probably a simple answer, but, what is the correct date format to fill in while editing a task in the designer?

Thank you,
Peter.
5 REPLIES 5

pdelucia
Champ in-the-making
Champ in-the-making
Can anyone please help?

thank you.

roig
Champ in-the-making
Champ in-the-making
Check the ISO 8601 standard. See http://en.wikipedia.org/wiki/ISO_8601

vire7777
Champ in-the-making
Champ in-the-making
Hey, i have the same problem
I've seen the wiki link but they use yyyy-mm-dd or yyyy-mm-dd hh:mm but this doesn't work

Could someone help us ?

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Try to put a T between the date and time because that is what 'they' do… (and/or read the bpmn spec and/or look at the activiti testcases)

vire7777
Champ in-the-making
Champ in-the-making
I ve already looked into the sources and don't really know how it could work.
In fact they use the string you pass in parameter as dueDate and try an "instanceof Date" on it.
But, in the TypeConverterImpl, they forget the DateConverter, don't they ?

So… does it need an upgrade ?