AnsweredAssumed Answered

New process definition deployment

Question asked by anil.kandula on Jan 12, 2015
Latest reply on Jan 13, 2015 by anil.kandula
Hi,

I am trying to deploy a new process definition using activiti explorer. Bellow is the bpmn 2.0 xml schema file for the process definition.


<?xml version="1.0" encoding="utf-8" ?>

<definitions id="def1"
             targetNamespace="MQ"
             xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xmlns:activiti="http://activiti.org/bpmn">

  <process id="financialReport" name="Monthly financial report reminder process">
    <startEvent id="theStart" />
    <sequenceFlow id='flow1' sourceRef='theStart' targetRef='writeReportTask' />
    <userTask id="writeReportTask" name="Write monthly financial report" >
      <documentation>
        Write monthly financial report for publication to shareholders.
      </documentation>
      <potentialOwner>
        <resourceAssignmentExpression>
          <formalExpression>accountancy</formalExpression>
        </resourceAssignmentExpression>
      </potentialOwner>
    </userTask>
    <sequenceFlow id='flow2' sourceRef='writeReportTask' targetRef='verifyReportTask' />
    <userTask id="verifyReportTask" name="Verify monthly financial report" >
      <documentation>
        Verify monthly financial report composed by the accountancy department. This financial report is going to be sent to all the company shareholders.
      </documentation>
      <potentialOwner>
        <resourceAssignmentExpression>
          <formalExpression>management</formalExpression>
        </resourceAssignmentExpression>
      </potentialOwner>
    </userTask>
    <sequenceFlow id='flow3' sourceRef='verifyReportTask' targetRef='theEnd' />
    <endEvent id="theEnd" />
  </process>
</definitions>


While deployment i got the "Error reading xml", but when i validated xml using bpmn validators it is fine.

Regards,
Anil Kumar

Outcomes