[jbpm-issues] [JBoss JIRA] Commented: (JBPM-1285) add fixed date timer support

Guillaume Porcher (JIRA) jira-events at lists.jboss.org
Mon Aug 18 09:34:59 EDT 2008


    [ https://jira.jboss.org/jira/browse/JBPM-1285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12425463#action_12425463 ] 

Guillaume Porcher commented on JBPM-1285:
-----------------------------------------

The proposal is resumed in your previous comment :-)

The idea is to set a timer due date from a text expression.

The resolver parses and executes dueDateText, and returns the due date, which is a Date object.

A timerDefinition has 2 fields: dueDateText and dueDateResolver. The dueDateResolver field can contain a resolver object or the name of the resolver which is in a map of DueDateResolvers in the environment.

The dueDateResolver implementation can optionally delegate the date resolution to a expression engine (jsr223). It can add some processing of the value returned by the jsr223 expression evaluation (e.g. a xpath evaluation of a Bpel "for" expression will return a javax.xml.datatype.Duration, and the dueDateResolver will transform this to a Date object).


> add fixed date timer support
> ----------------------------
>
>                 Key: JBPM-1285
>                 URL: https://jira.jboss.org/jira/browse/JBPM-1285
>             Project: JBoss jBPM
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: PVM
>            Reporter: Tom Baeyens
>            Assignee: Tom Baeyens
>            Priority: Critical
>
> add support in the TimerDefinition for fixed dueDates
> this should be done by adding a dueDate (type java.util.Date) property to the TimerDefinition and adding the necessary logic in the timer creation.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbpm-issues mailing list