[jboss-dev-forums] [jBPM Development] - Re: Migrate app to jBPM - multiple starts
jinlin ning
do-not-reply at jboss.com
Mon Nov 15 11:52:15 EST 2010
jinlin ning [http://community.jboss.org/people/ningjinlin] created the discussion
"Re: Migrate app to jBPM - multiple starts"
To view the discussion, visit: http://community.jboss.org/message/571267#571267
--------------------------------------------------------------
I was wondering why do you choose to use java node ? the java node don't have the property of assign-handler
Try to use the state replace your java node , and add a start event listener
<on event="start">
<event-listener class="org.jbpm.examples.eventlistener.LogListener">
<field name="msg"><string value="start on activity wait"/></field>
</event-listener>
</on>
public void notify(EventListenerExecution execution) {
ExecutionImpl e = (ExecutionImpl) execution;
e.getVariable("starInMiddle").toString().equals(true){
e.execution).end();
}
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/571267#571267]
Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20101115/b2831923/attachment.html
More information about the jboss-dev-forums
mailing list