[jboss-user] [JBoss jBPM] - Re: Able to suspend a token that has ended

newbie007 do-not-reply at jboss.com
Wed Jul 19 17:40:29 EDT 2006


This is hapenning in jbpm 3.1.1 and the same code is in 3.1.2 also

Here is the flow:

ProcessInstance.resume() -> rootToken.resume()  -> Token.resume() -> resumeTaskInstances() -> TaskMgmtInstance.resume() -> TaskInstance.resume()

and this is the final method which sets these two flags:
    isSuspended = false;
    isOpen = true;

Which actually opens the task. Since resume of Token class is called recursively, it applies to all the tasks.

Thanks.


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

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



More information about the jboss-user mailing list