[jboss-user] [JBoss jBPM] - Re: Ending tasks manually

rwallis do-not-reply at jboss.com
Wed May 6 10:58:55 EDT 2009


This is how I end tasks:
				
					<![CDATA[
                                    token.unlock();
                                    taskInstance.end();
                                    ]]>
				

If its a timer that signals the token and the task needs to therefore be automatically ended then I also make sure the end-tasks= true attribute on the task node is set.
	<task-node name="Sometasknodet" end-tasks="true">




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

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



More information about the jboss-user mailing list