0 Replies Latest reply on Jun 21, 2007 12:07 PM by Jason Greiner

    Process-States

    Jason Greiner Newbie

      If I deploy the process definition below without deploying the sub-process definitions. The process will execute up until it tries to call a sub-process then it will throw an exception as expected.

      However if I have the process definitions deployed properly (deploy subprocesses before main process) the process will stay in the Starting Gate node. I get no logging information, or any of my debug statements in the ActionHandler for the starting gate.

      Does anyone have any idea, or a good push in the right direction? I am really at a loss.

      <?xml version="1.0" encoding="UTF-8"?>
      
      <process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="DASMaster">
       <swimlane name="UsersGroup">
       <assignment class="com.pubco.das.common.handlers.UsersAssignmentHandler"></assignment>
       </swimlane>
       <start-state name="StartDasProcess">
       <transition name="" to="StartingGate"></transition>
       </start-state>
       <task-node name="DASMasterException">
       <task name="UserReview" swimlane="UsersGroup">
       <controller>
       <variable name="Comment"></variable>
       </controller>
       </task>
       <transition name="Try Again" to="StartingGate"></transition>
       </task-node>
       <node name="StartingGate" async="true">
       <action class="com.pubco.das.process.handlers.AsyncNode"></action>
       <transition name="" to="CreateArtMaster"></transition>
       </node>
       <node name="CreateArtMaster" async="true">
       <action class="com.pubco.das.process.handlers.CreateArtMaster"></action>
       <exception-handler exception-class="java.lang.Exception">
       <action class="com.pubco.das.process.handlers.DASMasterExceptionHandler"></action>
       </exception-handler>
       <transition name="" to="MSubmitProcess"></transition>
       </node>
       <process-state name="MSubmitProcess" async="exclusive" >
       <sub-process name="SubmitArtwork" />
       <variable name="artFileId" access="read,write" mapped-name="artFileId" />
       <variable name="artMasterId" access="read,write" mapped-name="artMasterId" />
       <transition name="" to="MProcessArtwork"></transition>
       </process-state>
       <process-state name="MProcessArtwork" async="exclusive" >
       <sub-process name="ProcessArtwork" />
       <variable name="artFileId" access="read,write" mapped-name="artFileId" />
       <variable name="artMasterId" access="read,write" mapped-name="artMasterId" />
       <transition name="" to="AllDone"></transition>
       </process-state>
       <end-state name="AllDone"></end-state>
      </process-definition>