[jboss-user] [jBPM] - userTask - setting Wait for Completion

Melih Cetin do-not-reply at jboss.com
Mon Aug 1 11:53:35 EDT 2011

Melih Cetin [http://community.jboss.org/people/mscetin] created the discussion

"userTask - setting Wait for Completion"

To view the discussion, visit: http://community.jboss.org/message/618636#618636

Section "12.1. Human tasks inside processes" of jBPM User Guide states that:

Wait for completion: If this property is true, the human task node will only continue if the human task has been terminated (i.e. completed or any other terminal state); otherwise it will continue immediately after creating the human task.

and the eclipse editor (BPMN2 Process Editor) provides UI to update "Wait for completion" attribute for User Tasks but the updated value is not saved (save the process definition, re-open it and see that "Wait for completion" is always set to 'true'). On the other hand, since there is no information saved for waitForCompletion in bpmn2 XML file, the process continues after creating the human task during execution (this is what I observe by checking NodeInstanceLog table content). 

What would be the correct way of instructing process engine to waitForCompletion of a specific User Task, even if it is the manual update of the bpmn2 XML file? 

There was another discussion about this topic (see http://community.jboss.org/thread/168556  http://community.jboss.org/thread/168556) but does not address the issue highlighted above.

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110801/43ebca91/attachment.html 

More information about the jboss-user mailing list