0 Replies Latest reply on Nov 7, 2012 10:36 AM by andy00

    JbpmException: StartState(Start ProcessName) has no default transition

    andy00

      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?