0 Replies Latest reply on Oct 18, 2006 5:11 AM by shi jimeng

    when process-state invoke sub-process,the sub process's vers

    shi jimeng Newbie

      the process's version is five..,find the sub-workflow is four.

      <?xml version="1.0" encoding="UTF-8"?>
      <process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="SubProcess">
       <swimlane name="applicant">
       <assignment class="com.bpm.oa.assignment.ApplicantSwimlane" />
       </swimlane>
       <start-state name="Start">
       <task swimlane="applicant">
       <controller>
       <variable name="approvedBoolean" />
       </controller>
       </task>
       <transition name="" to="Task"></transition>
       </start-state>
       <process-state name="InvokeTimeout">
       <sub-process name="SubProcess"></sub-process>
       <variable name="approvedBoolean" mapped-name="approvedBoolean" />
       <transition name="end" to="end"></transition>
       </process-state>
       <end-state name="end"></end-state>
       <task-node name="Task">
       <task swimlane="applicant">
       <controller>
       <variable name="approvedBoolean" />
       </controller>
       </task>
       <transition name="" to="Task1"></transition>
       </task-node>
       <task-node name="Task1">
       <transition name="" to="InvokeTimeout"></transition>
       </task-node>
      </process-definition>