JBoss Community

JbpmException: StartState(Start ProcessName) has no default transition

created by Andy Peer in jBPM - View the full discussion

Hi, we have a strange behavior in our evironement, aparently wothout any reasons, one day we got this exception: JbpmException: StartState(Start ProcessName) has no default transition.

We did not change anything of the process.

 

This is the process definition:

 

<?xml version="1.0" encoding="UTF-8"?>
<process-definition 
  xmlns="urn:jbpm.org:jpdl-3.2"
  name="Event">
   <start-state name="Start Process Event">
        <transition to="getEvent"></transition>
    </start-state>

    <node name="getEvent" async="true">
        <action class="com.test.handler.SubscribersEventHandler"></action>
        <transition to="nextTransition"></transition>
    </node>
    ....
    ....
</process-definition>

 

 

This is how we start the process:

.....
ProcessInstance processInstance = ctx.getJbpmContext().newProcessInstance(EventProcessConstants.BPM_PROCESS_NAME);
processInstance.getContextInstance().setVariable(EventProcessConstants.BPM_BUSINESSOBJECT_VARIABLE_NAME,event);
processInstance.signal();
.....

 

What could be the problem?

Reply to this message by going to Community

Start a new discussion in jBPM at Community