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&...]