valb3r / flowable-bpmn-intellij-plugin

Flowable, Activiti, Camunda BPMN engines process editor plugin for IntelliJ. Pure Kotlin (and some Java)
https://plugins.jetbrains.com/plugin/14318-flowable-bpmn-visualizer
MIT License
161 stars 33 forks source link

Issue from YouTrack #328

Closed valb3r closed 1 year ago

valb3r commented 1 year ago

Issue parsing Activity diagram:

<?xml version="1.0" encoding="UTF-8"?> <definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="GENERIC" id="Definitions_1" exporter="org.eclipse.bpmn2.modeler.core" exporterVersion="1.4.2.Final-v20171109-1930-B1">   <process id="GENERIC_FILE_FLOW" name="GENERIC_FILE_FLOW" isExecutable="true">     <startEvent id="startevent1" name="Start"></startEvent>     <userTask id="USER" name="USER" activiti:candidateGroups="SPEAKER" activiti:category="7"></userTask>     <endEvent id="endevent1" name="End"></endEvent>     <exclusiveGateway id="actionGatewaySpeaker" name="actionGatewaySpeaker"></exclusiveGateway>     <sequenceFlow id="flow17" sourceRef="USER" targetRef="actionGatewaySpeaker"></sequenceFlow>     <sequenceFlow id="flow106" sourceRef="actionGatewaySpeaker" targetRef="endevent1">       <conditionExpression xsi:type="tFormalExpression"><![CDATA[${action == 'ADMIT'}]]></conditionExpression>     </sequenceFlow>     <sequenceFlow id="flow114" sourceRef="actionGatewaySpeaker" targetRef="USER">       <conditionExpression xsi:type="tFormalExpression"><![CDATA[${action == 'FORWARD'}]]></conditionExpression>     </sequenceFlow>     <sequenceFlow id="flow115" sourceRef="startevent1" targetRef="USER"></sequenceFlow>   </process>   <bpmndi:BPMNDiagram id="BPMNDiagram_GENERIC_FILE_FLOW">     <bpmndi:BPMNPlane bpmnElement="GENERIC_FILE_FLOW" id="BPMNPlane_GENERIC_FILE_FLOW">       <bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">         <omgdc:Bounds height="35.0" width="35.0" x="210.0" y="210.0"></omgdc:Bounds>       </bpmndi:BPMNShape>       <bpmndi:BPMNShape bpmnElement="USER" id="BPMNShape_USER">         <omgdc:Bounds height="55.0" width="105.0" x="345.0" y="200.0"></omgdc:Bounds>       </bpmndi:BPMNShape>       <bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">         <omgdc:Bounds height="35.0" width="35.0" x="706.0" y="210.0"></omgdc:Bounds>       </bpmndi:BPMNShape>       <bpmndi:BPMNShape bpmnElement="actionGatewaySpeaker" id="BPMNShape_actionGatewaySpeaker">         <omgdc:Bounds height="40.0" width="40.0" x="520.0" y="207.0"></omgdc:Bounds>       </bpmndi:BPMNShape>       <bpmndi:BPMNEdge bpmnElement="flow17" id="BPMNEdge_flow17">         <omgdi:waypoint x="450.0" y="227.0"></omgdi:waypoint>         <omgdi:waypoint x="520.0" y="227.0"></omgdi:waypoint>       </bpmndi:BPMNEdge>       <bpmndi:BPMNEdge bpmnElement="flow106" id="BPMNEdge_flow106">         <omgdi:waypoint x="560.0" y="227.0"></omgdi:waypoint>         <omgdi:waypoint x="706.0" y="227.0"></omgdi:waypoint>       </bpmndi:BPMNEdge>       <bpmndi:BPMNEdge bpmnElement="flow114" id="BPMNEdge_flow114">         <omgdi:waypoint x="540.0" y="247.0"></omgdi:waypoint>         <omgdi:waypoint x="540.0" y="334.0"></omgdi:waypoint>         <omgdi:waypoint x="397.0" y="334.0"></omgdi:waypoint>         <omgdi:waypoint x="397.0" y="255.0"></omgdi:waypoint>       </bpmndi:BPMNEdge>       <bpmndi:BPMNEdge bpmnElement="flow115" id="BPMNEdge_flow115">         <omgdi:waypoint x="245.0" y="227.0"></omgdi:waypoint>         <omgdi:waypoint x="345.0" y="227.0"></omgdi:waypoint>       </bpmndi:BPMNEdge>     </bpmndi:BPMNPlane>   </bpmndi:BPMNDiagram> </definitions>

https://youtrack.jetbrains.com/issue/IDEA-104687/Activiti-BPM-support#focus=Comments-27-6657859.0-0

valb3r commented 1 year ago

Duplicate of https://github.com/valb3r/flowable-bpmn-intellij-plugin/issues/332