[jboss-user] [JBoss jBPM] - Timer on task not being deleted when task instance ends

dleerob do-not-reply at jboss.com
Fri Feb 20 09:24:17 EST 2009


When adding a timer to a task in Jbpm 3.2.3, all was well. Code below:
<task-node name="Initial Details">
  | 		<task name="Initial Details" swimlane="Initiator">
  | 			<controller>
  | 				<variable name="IsReplacement" access="read,write,required"></variable>
  |             	<variable name="EmployeeReplaced" access="read,write"></variable>
  |             	<variable name="EmployeeReplacedSelection" access="read,write"></variable>
  |             	<variable name="EmployeeReplacedOther" access="read,write"></variable>
  |             	<variable name="JobTitle" access="read,write,required"></variable>
  | 			</controller>
  | 			<timer duedate="0 seconds" repeat="24 Hours" name="Initial Details Reminder">
  | 		 		<action class="workflow.jbpm.TaskReminder" />
  | 		 	</timer>
  | 		</task>
  | 		<transition to="Responsible Director Approval 1"></transition>
  | 	</task-node>

Now, with the latest Jbpm 3.2.6 SNAPSHOT, the timer does not seem to be deleted when the task ends. Only 24 hours later, when the timer is due again, it will try and run the timer once more, then delete it. So we have the timer running an extra time, when perhaps it should not be run again?
I also think this change in behaviour may be the result of a bug fix/jira issue which was resolved: https://jira.jboss.org/jira/browse/JBPM-2036

Should timers behave like this?

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4211825#4211825

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4211825

More information about the jboss-user mailing list