JBoss Community

Error Deploying jpdl process

created by Jim Hill in jBPM - View the full discussion

I am getting an error when I try to deploy my jpdl.xml process.  The error references transitions to="..." Does anyone have a suggestion as to what this might be complaining about?  Here is the error:

 

BUILD FAILED

org.jbpm.api.JbpmException:

  error: attribute <transition to="..." is required

        at org.jbpm.pvm.internal.xml.ProblemList.getJbpmException(ProblemList.java:175)

        at org.jbpm.pvm.internal.xml.ProblemList.getJbpmException(ProblemList.java:141)

        ...

 

I have verified that every transition points to a valid target.  I am using groups but currently do not use timeouts.  I have decisions with transitions but made sure there is always a default option.  Any ideas would be greatly appreciated.  If there is a better way to do this I'm open to that too.

 

Jim

 

  <group name="SendTHGroup" g="130,240,90,50">

    <start>

      <transition name="to WaitForTH" to="WaitForTH" g="-78,-18" />

    </start>

    <custom name="WaitForTH" g="132,242,92,52"

            class="mil.army.sc4.bpm.WaitForMessageActivity">

      <transition name="to DidUserSendTH" to="DidUserSendTH" g="-78,-18" />

    </custom>

    <decision name="DidUserSendTH">

      <transition name="TH Sent" to="LaunchEDForm" g="-78,-18">

        <condition expr="#{className==&quot;THObject&quot;}" />

      </transition>

      <!-- If we did not receive the TH object, keep waiting -->

      <transition name="Keep waiting" to="WaitForTH" g="-78,-18" />

    </decision>

    <!-- transition name="timeout1" to="NotifyUserOfTimeout" g="-43,-16">

      <timer duedate="5 minutes" />

    </transition -->

  </group>

Reply to this message by going to Community

Start a new discussion in jBPM at Community