Hi! I just found out that.. However when I dont assign any swimlane to Step21 & Step 22 and set blocking true. It work perfectly. But it may be because as there is no swimlane to those tasks they are not dispalyed??
anonymous wrote : | | <?xml version="1.0" encoding="UTF-8"?> | | <process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="MyDef"> | | <swimlane name="user"></swimlane> | | <start-state name="Step1"> | | <task name="Step1" swimlane="user"> | | <controller> <variable name="var1"></variable> | | <variable name="var2"></variable> | | <variable name="var3"></variable> | | </controller> </task> | | <transition name="" to="DocFork"></transition> | | </start-state> | | <fork name="DocFork"> | | <transition name="Step21" to="Step21"> </transition> | | <transition name="Step22" to="Step22"> </transition> | | </fork> | | <task-node name="Step21"> | | <task name="Step21" blocking="true"> | | <controller> <variable name="var1"></variable> | | <variable name="var2"></variable> | | <variable name="var3"></variable> | | </controller> | | </task> | | <event type="node-enter"> | | <action name="action1" class="com.MyDef.step21.class"></action> | | </event> | | <transition name="" to="DocJoin"> | | </transition> </task-node> | | <task-node name="Step22"> | | <task name="Step22" blocking="true"> | | <controller> <variable name="var1"></variable> | | <variable name="var2"></variable> | | <variable name="var3"></variable> | | </controller></task> | | <event type="node-enter"> | | <action name="action1" class ="com.MyDef.step22.class"></action> | | </event> <transition name="" to="DocJoin"> </transition> </task-node> | | <join name="DocJoin"> | | <transition name="" to="step3"></transition> </join> | | <task-node name="step3"> <task name="step3" swimlane="user"> | | <controller> <variable name="var1"></variable> | | <variable name="var2"></variable> | | <variable name="var3"></variable> | | </controller> </task> | | <transition name="" to="End"> | | </transition> </task-node> <end-state name="End"></end-state> | | </process-definition> | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922728#3922728 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922728 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user