[jboss-user] [jBPM] - completionCondition for <adHocSubProcess>

Hui Onn Tan do-not-reply at jboss.com
Fri Sep 2 07:29:22 EDT 2011


Hui Onn Tan [http://community.jboss.org/people/huionn] created the discussion

"completionCondition for <adHocSubProcess>"

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

--------------------------------------------------------------
Refering to jbpm-examples in  http://kverlaen.blogspot.com/2011/07/jbpm-examples-part-2.html http://kverlaen.blogspot.com/2011/07/jbpm-examples-part-2.html, I tried the Ad Hoc process and it works accordingly.

However I have a question regarding the adHocSubProcess - how can I control the completion of sub process?
I checked the source code of AdHocSubProcessHandler.java. It seems adHocSubProcess support only either "autoComplete" (magic word "getActivityInstanceAttribute(\"numberOfActiveInstances\") == 0") or "not autoComplete".

In case of "not autoComplete", how could I signal or programmatically end the ad hoc sub process?

For example, the sub process should be complete after either reviewed or approved (in the jbpm-example).

Thanks.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/624446#624446]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110902/9d0cfaa9/attachment.html 


More information about the jboss-user mailing list