當前我正在使用活動工作流引擎和XML來開發業務流程圖。僅供參考,activiti工作流程圖在Tomcat服務器上運行。Activiti工作流引擎:部署不成功
但我不知道爲什麼,我總是無法部署我的過程。這裏是我的XML代碼:
<definitions id="definitions"
targetNamespace="http://activiti.org/bpmn20"
xmlns:activiti="http://activiti.org/bpmn"
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL">
<process id="accidentForm" name="accidentFormProcess">
<startEvent id="startEvent" />
<sequenceFlow id='flow1' sourceRef='startEvent' targetRef='submitForm' />
<userTask id="submitForm" name="Submit Accident Form" >
<documentation>
Submit Accident Form
</documentation>
<potentialOwner>
<resourceAssignmentExpression>
<formalExpression>employee</formalExpression>
</resourceAssignmentExpression>
</potentialOwner>
</userTask>
<sequenceFlow id='flow2' sourceRef='submitForm' targetRef='parallelTask' />
<intermediateCatchEvent id="parallelTask" >
<messageEventDefinition messageRef="submission" />
</intermediateCatchEvent>
<sequenceFlow id='flow3' sourceRef='parallelTask' targetRef='sendBoss' />
<userTask id="sendBoss" name="Send Email Notification to Boss or Sacharbeiter" >
<documentation>
Send Email Notification to Boss or Sacharbeiter
</documentation>
<potentialOwner>
<resourceAssignmentExpression>
<formalExpression>smtp</formalExpression>
</resourceAssignmentExpression>
</potentialOwner>
</userTask>
<sequenceFlow id='flow4' sourceRef='parallelTask' targetRef='sendEmployee' />
<userTask id="sendBoss" name="Send Email Confirmation to Employee" >
<documentation>
Send Email Confirmation to Employee
</documentation>
<potentialOwner>
<resourceAssignmentExpression>
<formalExpression>smtp</formalExpression>
</resourceAssignmentExpression>
</potentialOwner>
</userTask>
<sequenceFlow id='flow5' sourceRef='sendBoss' targetRef='parallelTask2' />
<intermediateCatchEvent id="parallelTask2" >
<messageEventDefinition messageRef="submission" />
</intermediateCatchEvent>
<sequenceFlow id='flow6' sourceRef='sendEmployee' targetRef='parallelTask2' />
<sequenceFlow id='flow7' sourceRef='parallelTask2' targetRef='reviewForm' />
<userTask id="bossSign" name="Form Reviewed and Signed By The Boss or Sacharbeiter" >
<documentation>
Form Reviewed and Signed By The Boss or Sacharbeiter
</documentation>
<potentialOwner>
<resourceAssignmentExpression>
<formalExpression>boss</formalExpression>
</resourceAssignmentExpression>
</potentialOwner>
</userTask>
<sequenceFlow id='flow8' sourceRef='reviewForm' targetRef='sendFormBO' />
<userTask id="sendFormBO" name="Boss or Sacharbeiter Submit Signed Form to The System" >
<documentation>
Boss or Sacharbeiter Submit Signed Form to The System
</documentation>
<potentialOwner>
<resourceAssignmentExpression>
<formalExpression>boss</formalExpression>
</resourceAssignmentExpression>
</potentialOwner>
</userTask>
<sequenceFlow id='flow9' sourceRef='sendFormBO' targetRef='sendEmailBO' />
<userTask id="sendEmailBO" name="Send Email Notification to Back Office" >
<documentation>
Send Email Notification to Back Office
</documentation>
<potentialOwner>
<resourceAssignmentExpression>
<formalExpression>smtp</formalExpression>
</resourceAssignmentExpression>
</potentialOwner>
</userTask>
<sequenceFlow id='flow10' sourceRef='sendEmailBO' targetRef='claimAccident' />
<userTask id="claimAccident" name="Back Office Claim Accident to Insurance Company" >
<documentation>
Back Office Claim Accident to Insurance Company
</documentation>
<potentialOwner>
<resourceAssignmentExpression>
<formalExpression>backoffice</formalExpression>
</resourceAssignmentExpression>
</potentialOwner>
</userTask>
<sequenceFlow id='flow11' sourceRef='claimAccident' targetRef='endProcess' />
<endEvent id="endProcess" />
</process>
</definitions>
我的XML有什麼問題嗎?有沒有什麼辦法可以進行調試。例如通過使用一些日誌或錯誤控制檯?在此先感謝