Duedate for Timer

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2009 11:35 AM
Is this a correct way of firing a workflow timer?
<timer name="sendMail" duedate="#{bpm_workflowDueDate} - 1 day" transition="sendMail">
I want the timer to fire an event one day before workflow duedate. But this duedate format gives error saying 'Doest evaluate to a date'
Any help on this please?
<timer name="sendMail" duedate="#{bpm_workflowDueDate} - 1 day" transition="sendMail">
I want the timer to fire an event one day before workflow duedate. But this duedate format gives error saying 'Doest evaluate to a date'
Any help on this please?
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2009 12:06 PM
This error raises because jBPM engine cannot understand "#{bpm_workflowDueDate} - 1 day" as a date.
I think you should first build the date you need in a script area, create a new variable that will remain during the whole process, and then put this variable into your timer.
See "WorkflowAdministration" chapter in the wiki, you'll get all the pieces of information you need to do that
I think you should first build the date you need in a script area, create a new variable that will remain during the whole process, and then put this variable into your timer.
See "WorkflowAdministration" chapter in the wiki, you'll get all the pieces of information you need to do that

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2009 05:03 AM
Thanks …
But I tried all of them, the variable does not get set at all … I tried to upload the process definition xml in my previous post as well…
Regards
Aswini
But I tried all of them, the variable does not get set at all … I tried to upload the process definition xml in my previous post as well…
Regards
Aswini
