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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to