<?xml version="1.0" encoding="UTF-8"?>
<process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="claims">
<start-state name="Start">
<transition to="Registration" name="register"></transition>
<transition to="Evaluation" name="evaluate"></transition>
<transition to="Confirmation" name="confirm"></transition>
</start-state>
<task-node name="Registration" end-tasks="true">
<event type="task-create">
<action class="org.springmodules.workflow.jbpm31.JbpmHandlerProxy" config-type="bean">
<factoryKey>jbpmConfiguration</factoryKey>
<targetBean>stagePretreatmentAction</targetBean>
</action>
</event>
<task>
<assignment class="org.springmodules.workflow.jbpm31.JbpmHandlerProxy" config-type="bean">
<factoryKey>jbpmConfiguration</factoryKey>
<targetBean>assignmentHandler</targetBean>
</assignment>
</task>
<transition to="Confirmation" name="submit"></transition>
<transition to="Closed" name="close"></transition>
<transition to="Cancelled" name="cancel"></transition>
</task-node>
<task-node name="Confirmation" end-tasks="true">
<event type="task-create">
<action class="org.springmodules.workflow.jbpm31.JbpmHandlerProxy" config-type="bean">
<factoryKey>jbpmConfiguration</factoryKey>
<targetBean>stagePretreatmentAction</targetBean>
</action>
</event>
<task>
<assignment class="org.springmodules.workflow.jbpm31.JbpmHandlerProxy" config-type="bean">
<factoryKey>jbpmConfiguration</factoryKey>
<targetBean>assignmentHandler</targetBean>
</assignment>
</task>
<transition to="CaseDecision" name="submit"></transition>
<transition to="Reversal" name="revert"></transition>
<transition to="Closed" name="close"></transition>
<transition to="Cancelled" name="cancel"></transition>
</task-node>
<task-node name="Evaluation" end-tasks="true">
<event type="task-create">
<action class="org.springmodules.workflow.jbpm31.JbpmHandlerProxy" config-type="bean">
<factoryKey>jbpmConfiguration</factoryKey>
<targetBean>stagePretreatmentAction</targetBean>
</action>
</event>
<task>
<assignment class="org.springmodules.workflow.jbpm31.JbpmHandlerProxy" config-type="bean">
<factoryKey>jbpmConfiguration</factoryKey>
<targetBean>assignmentHandler</targetBean>
</assignment>
</task>
<transition to="PaymentCalculation(Auto)" name="submit"></transition>
<transition to="Reversal" name="revert"></transition>
<transition to="Closed" name="close"></transition>
<transition to="Cancelled" name="cancel"></transition>
</task-node>
<task-node name="PaymentCalculation" end-tasks="true">
<event type="task-create">
<action class="org.springmodules.workflow.jbpm31.JbpmHandlerProxy" config-type="bean">
<factoryKey>jbpmConfiguration</factoryKey>
<targetBean>stagePretreatmentAction</targetBean>
</action>
</event>
<task>
<assignment class="org.springmodules.workflow.jbpm31.JbpmHandlerProxy" config-type="bean">
<factoryKey>jbpmConfiguration</factoryKey>
<targetBean>assignmentHandler</targetBean>
</assignment>
</task>
<transition to="PaymentAllocation(Auto)" name="submit"></transition>
<transition to="Reversal" name="revert"></transition>
<transition to="Closed" name="close"></transition>
<transition to="Cancelled" name="cancel"></transition>
</task-node>
<task-node name="PaymentAllocation" end-tasks="true">
<event type="task-create">
<action class="org.springmodules.workflow.jbpm31.JbpmHandlerProxy" config-type="bean">
<factoryKey>jbpmConfiguration</factoryKey>
<targetBean>stagePretreatmentAction</targetBean>
</action>
</event>
<task>
<assignment class="org.springmodules.workflow.jbpm31.JbpmHandlerProxy" config-type="bean">
<factoryKey>jbpmConfiguration</factoryKey>
<targetBean>assignmentHandler</targetBean>
</assignment>
</task>
<transition to="Approval" name="submit"></transition>
<transition to="Reversal" name="revert"></transition>
<transition to="Closed" name="close"></transition>
<transition to="Cancelled" name="cancel"></transition>
</task-node>
<task-node name="Approval" end-tasks="true">
<event type="task-create">
<action class="org.springmodules.workflow.jbpm31.JbpmHandlerProxy" config-type="bean">
<factoryKey>jbpmConfiguration</factoryKey>
<targetBean>stagePretreatmentAction</targetBean>
</action>
</event>
<task>
<assignment class="org.springmodules.workflow.jbpm31.JbpmHandlerProxy" config-type="bean">
<factoryKey>jbpmConfiguration</factoryKey>
<targetBean>assignmentHandler</targetBean>
</assignment>
</task>
<transition to="ClaimCaseApproved" name="submit"></transition>
<transition to="Reversal" name="revert"></transition>
<transition to="Closed" name="close"></transition>
<transition to="Cancelled" name="cancel"></transition>
</task-node>
<node name="PendingNotice(Auto)">
<event type="node-enter">
<action class="org.springmodules.workflow.jbpm31.JbpmHandlerProxy" config-type="bean">
<factoryKey>jbpmConfiguration</factoryKey>
<targetBean>pendingNoticeAutoAction</targetBean>
</action>
</event>
<transition to="Evaluation"></transition>
</node>
<node name="Evaluation(Auto)">
<event type="node-enter">
<action class="org.springmodules.workflow.jbpm31.JbpmHandlerProxy" config-type="bean">
<factoryKey>jbpmConfiguration</factoryKey>
<targetBean>evaluationAutoAction</targetBean>
</action>
</event>
<transition to="PendingNotice(Auto)"></transition>
</node>
<decision name="CaseDecision">
<handler config-type="bean" class="org.springmodules.workflow.jbpm31.JbpmHandlerProxy">
<targetBean>caseDecision</targetBean>
<factoryKey>jbpmConfiguration</factoryKey>
</handler>
<transition to="Evaluation(Auto)" name="normal"></transition>
<transition to="Assessment(Auto)" name="jet"></transition>
</decision>
<node name="PaymentCalculation(Auto)">
<event type="node-enter">
<action class="org.springmodules.workflow.jbpm31.JbpmHandlerProxy" config-type="bean">
<factoryKey>jbpmConfiguration</factoryKey>
<targetBean>paymentCalculationAutoAction</targetBean>
</action>
</event>
<transition to="PaymentCalculation"></transition>
</node>
<node name="PaymentAllocation(Auto)">
<event type="node-enter">
<action class="org.springmodules.workflow.jbpm31.JbpmHandlerProxy" config-type="bean">
<factoryKey>jbpmConfiguration</factoryKey>
<targetBean>paymentAllocationAutoAction</targetBean>
</action>
</event>
<transition to="PaymentAllocation"></transition>
</node>
<state name="ClaimCaseApproved">
<event type="node-enter">
<action class="org.springmodules.workflow.jbpm31.JbpmHandlerProxy">
<factoryKey>jbpmConfiguration</factoryKey>
<targetBean>claimCaseApprovedAction</targetBean>
</action>
</event>
<transition to="Reversal" name="revert"></transition>
<transition to="End" name="submit"></transition>
</state>
<node name="Reversal">
<event type="node-enter">
<action class="org.springmodules.workflow.jbpm31.JbpmHandlerProxy" config-type="bean">
<factoryKey>jbpmConfiguration</factoryKey>
<targetBean>reversalAction</targetBean>
</action>
</event>
<transition to="TransitDecision"></transition>
</node>
<node name="Assessment(Auto)">
<event type="node-enter">
<action class="org.springmodules.workflow.jbpm31.JbpmHandlerProxy" config-type="bean">
<factoryKey>jbpmConfiguration</factoryKey>
<targetBean>assessmentAutoAction</targetBean>
</action>
</event>
<transition to="Approval"></transition>
</node>
<decision name="TransitDecision">
<handler config-type="bean" class="org.springmodules.workflow.jbpm31.JbpmHandlerProxy">
<targetBean>transitDecision</targetBean>
<factoryKey>jbpmConfiguration</factoryKey>
</handler>
<transition to="Registration" name="register"></transition>
<transition to="Confirmation" name="confirm"></transition>
<transition to="Evaluation" name="evaluate"></transition>
<transition to="PaymentCalculation" name="calculate"></transition>
<transition to="PaymentAllocation" name="pay"></transition>
<transition to="Approval" name="approve"></transition>
</decision>
<state name="Closed">
<event type="node-enter">
<action class="org.springmodules.workflow.jbpm31.JbpmHandlerProxy" config-type="bean">
<factoryKey>jbpmConfiguration</factoryKey>
<targetBean>closeAction</targetBean>
</action>
</event>
</state>
<state name="Void">
<event type="node-enter">
<action class="org.springmodules.workflow.jbpm31.JbpmHandlerProxy" config-type="bean">
<factoryKey>jbpmConfiguration</factoryKey>
<targetBean>voidAction</targetBean>
</action>
</event>
</state>
<state name="Cancelled">
<event type="node-enter">
<action class="org.springmodules.workflow.jbpm31.JbpmHandlerProxy" config-type="bean">
<factoryKey>jbpmConfiguration</factoryKey>
<targetBean>cancelAction</targetBean>
</action>
</event>
</state>
<state name="End">
<event type="node-enter">
<action class="org.springmodules.workflow.jbpm31.JbpmHandlerProxy" config-type="bean">
<factoryKey>jbpmConfiguration</factoryKey>
<targetBean>endAction</targetBean>
</action>
</event>
<transition to="Void" name="void"></transition>
</state>
</process-definition>