[jboss-user] [JBoss jBPM] - Re: fork and join childeren

salaboy21 do-not-reply at jboss.com
Thu Nov 13 14:19:44 EST 2008


Ok, you are right.. there is something with your process definition and at first sight i don't find this error...
So when I test it in my IDE i find the problem very quickly:

This is your problem:

	"<process-definition>" +
  | 			"   <start-state name=\"start\">" + 
  | 			"		<transition to=\"fork1\"></transition>" + 
  | 			"	</start-state>" + 
  | 			"   <fork name=\"fork1\">" + 
  | 			"		<transition to=\"state1\" name=\"2\"></transition>" + 
  | 			"		<transition to=\"state2\" name=\"1\"></transition>" + 
  | 			"	</fork>" + 
  | 			"	<state name=\"state1\">" + 
  | 			"		<transition to=\"join1\"></transition>" + 
  | 			"	</state>" + 
  | 			"	<state name=\"state2\">" + 
  | 			"		<transition to=\"join1\"></transition>" + 
  | 			"	</state>" + 
  | 			"	<join name=\"join1\">" + 
  | 			"		<transition to=\"end\"></transition>" + 
  | 			"	</join>" + 
  | 			"   <end-state name=\"end\"></end-state>" +
  | 			"</process-definition>"
  | 
If you look it carefully, you will find that I add the name attribute in the transitions..
This confuse jBPM because have to with null or empty names...
If you correct that you see the right behaviour..
Hope it helps...


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189205#4189205

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189205



More information about the jboss-user mailing list