[jboss-user] [JBoss jBPM] - Can't leave node ... without leaving transition

victorl do-not-reply at jboss.com
Tue Mar 4 16:33:56 EST 2008


Hi All,

I have a very simple process like this:

process-definition  xmlns=""  name="process"
 start-state name="init process"
      transition to="documentation control" name="trNo1"
 node name="documentation control"

And the following code:

definition =  graphSession.findLatestProcessDefinition("process");
processInstance = new ProcessInstance(definition );
token = processInstance.getRootToken(); 
token.signal();

But when the signal is executed from the start state to documentation control node the following exception is thrown:

org.jbpm.JbpmException: can't leave node 'Node(documentacion control)' without leaving transition
	at org.jbpm.graph.def.Node.leave(Node.java:365)
	at org.jbpm.graph.def.Node.leave(Node.java:347)
	at org.jbpm.graph.def.Node.execute(Node.java:339)
	at org.jbpm.graph.def.Node.enter(Node.java:316)
	...
        ...

I don't know because it is happening.

Any help will be very appreciated
Best Regards,

Victor

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

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



More information about the jboss-user mailing list