AnsweredAssumed Answered

Parse BPMN XML and get the Required attribute Value

Question asked by chandanmb1 on Sep 13, 2016
Latest reply on Sep 14, 2016 by chandanmb1
Hello,

I am designing a BPMN process and inserting it to Activiti DB.
Process XML contains multiple UserTasks


  <bpmn2:userTask id="WF12345001" name="JIRA">
      <bpmn2:incoming>SequenceFlow_08yji0e</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_1bptsxy</bpmn2:outgoing>
    </bpmn2:userTask>


When i get to know the first activiti as Jira from ACT_RU_TASK table, i need to get the correspoding ID present in the XML not the ID which is generated in TASK table.

Is there any parsing available ? Or how to get the id of UserTask present in XML ?
In this case, i need to get this ID -WF12345001

Regards,
Chandan

Outcomes