[
http://jira.jboss.com/jira/browse/JBPM-1097?page=all ]
Ronald van Kuijk resolved JBPM-1097.
------------------------------------
Resolution: Done
Issue of dates in the past not solved. Can also happen with a basedate.... So behaviour
currently is undefined
Make duedate accept EL in addition to the already existing
businesscalendar
---------------------------------------------------------------------------
Key: JBPM-1097
URL:
http://jira.jboss.com/jira/browse/JBPM-1097
Project: JBoss jBPM
Issue Type: Feature Request
Components: Core Engine
Affects Versions: jBPM jPDL 3.2.2
Environment: N/A
Reporter: Ronald van Kuijk
Assigned To: Ronald van Kuijk
Fix For: jBPM jPDL 3.2.3
Original Estimate: 5 hours
Time Spent: 4 hours
Remaining Estimate: 1 hour
currently the duedate in a timer and task only accept a businesscalendar. Sometimes
(often?) you want it to be based on e.g. a processvariable as well. So a format of
<timer name="pension" duedate="#{dateOfBirth} + 65
years"></timer>
<timer name="pensionReminder" duedate="#{dateOfBirth} - 1
year"></timer>
<timer name="pension" duedate="#{pensionDate}"></timer>
Are examples of how it should work (and does now if using the cvs version)
Changes still needed:
- accept Calendar besides date (String will not be done by me because of format issues
- generate an exception if in the old duedate format, a minus is prefixed. (currently the
date will be in the past!!!)
- ...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira