-
1. Re: Task duedate / Reminder duedate
jbarrez Jul 22, 2009 3:08 AM (in response to kukeltje)Isn't this what you need?
-
2. Re: Task duedate / Reminder duedate
jbarrez Jul 22, 2009 3:09 AM (in response to kukeltje)Forum swallowed the xml:
<task name="review" assignee="#{order.owner}" g="96,16,127,52" duedate="4 business days"> <reminder duedate="2 days" repeat="1 day"/> <transition to="wait"/> </task>
-
3. Re: Task duedate / Reminder duedate
kukeltje Jul 22, 2009 4:09 AM (in response to kukeltje)Yep, that is what I expected and what 3 does to.
Shall I file a jira issue? Can I add to that having the duedates accept EL, like they did in 3? -
4. Re: Task duedate / Reminder duedate
kukeltje Jul 22, 2009 4:12 AM (in response to kukeltje)The xsd at least does not support this. Might be that the source does btw... not sure
-
5. Re: Task duedate / Reminder duedate
gleenders Jul 22, 2009 8:18 AM (in response to kukeltje)To my opinion it seems to be part of the xsd (one of the last attributes of task). But I'm not sure if it's already implemented. I've specified the duedate attribute with some tasks but when I look in the database in the JBPM4_TASK table the column Duedate_ rest NULL for these tasks.
Or do I miss something? -
6. Re: Task duedate / Reminder duedate
kukeltje Jul 22, 2009 9:35 AM (in response to kukeltje)Hmm.... funny... You see a duedate on the task in the xsd where I don't, and I see a description on the task in the xsd where you don't....
Hmm.... Now I look at the xsd in more detail, it is kind of confusing.... the task element has a local declarartion where there is no duedate nor a description (and that is where I searched for the duedate). The tasktype has both (and that is where I searched for description.
The task element has no reference though to the tasktype... weird... -
7. Re: Task duedate / Reminder duedate
kukeltje Jul 22, 2009 9:41 AM (in response to kukeltje)Oops.... did not update the source from svn since al the latest changes....
There indeed is a duedate on the task element, but no description.... and the taskType is gone... phew... maybe 'fixed at the same time https://jira.jboss.org/jira/browse/JBPM-2352 was ;-) (or earlier, my xsd was from may :-() -
8. Re: Task duedate / Reminder duedate
kukeltje Jul 22, 2009 9:54 AM (in response to kukeltje)So it might be that you are right Gert, you can put it in the processdefinition, but it does not end up in the database. I'm currenly updating my source and will have a look in the parser.