cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti Modeler 5.17.0 no cancelActivity option

tc1
Champ in-the-making
Champ in-the-making
Hi everybody,

first, in the new AngularJS Activiti Modeler is no option to enable cancelActivity for the MessageBoundary events.

The second point is, when I enable the cancelActivity option in the Eclipse Plugin and import the diagram afterwards in the Modeler, it works, but I can't deploy this process. I get this message:


[img]http://s24.postimg.org/z7xa9urf9/cancel_Activity_true_error.png[/img]


<?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="http://www.activiti.org/processdef">
  <message id="message.ref" name="message.ref"></message>
  <process id="process1.key" name="ProcessName" isExecutable="true">
    <sequenceFlow id="sid-3B6BAFA7-99B8-4317-B578-1F989BA77B8F" sourceRef="startCaptureOrder" targetRef="sid-53658386-F2E9-4179-A325-10D10D2E68B2"></sequenceFlow>
    <sequenceFlow id="sid-BED6DCCC-9D26-4F13-8349-00E6D5325C45" sourceRef="ca1" targetRef="ca2"></sequenceFlow>
    <sequenceFlow id="sid-C822790C-BB69-4533-B85C-5C4EF26FB251" sourceRef="ca2" targetRef="sid-F604975D-48EC-4E7A-821B-A04000C3F686"></sequenceFlow>
    <sequenceFlow id="sid-44CA7B3D-F45D-4532-83C0-26ACF00EEAC7" sourceRef="sid-53658386-F2E9-4179-A325-10D10D2E68B2" targetRef="ca1"></sequenceFlow>
    <sequenceFlow id="sid-1924EBDC-29E8-435E-8773-C89DD1BB60B2" sourceRef="message.key" targetRef="sid-53658386-F2E9-4179-A325-10D10D2E68B2"></sequenceFlow>
    <startEvent id="startCaptureOrder" name="Start Process"></startEvent>
    <callActivity id="ca1" name="Call Activiti 1" calledElement="process"></callActivity>
    <callActivity id="ca2" name="Call Activity 2" calledElement="process"></callActivity>
    <boundaryEvent id="message.key" name="message" attachedToRef="ca2" cancelActivity="false">
      <messageEventDefinition messageRef="message.ref"></messageEventDefinition>
    </boundaryEvent>
    <endEvent id="sid-F604975D-48EC-4E7A-821B-A04000C3F686"></endEvent>
    <exclusiveGateway id="sid-53658386-F2E9-4179-A325-10D10D2E68B2"></exclusiveGateway>
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_process1.key">
    <bpmndi:BPMNPlane bpmnElement="process1.key" id="BPMNPlane_process1.key">
      <bpmndi:BPMNShape bpmnElement="startCaptureOrder" id="BPMNShape_startCaptureOrder">
        <omgdc:Bounds height="30.0" width="30.0" x="30.0" y="169.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="ca1" id="BPMNShape_ca1">
        <omgdc:Bounds height="189.0" width="276.0" x="255.0" y="89.5"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="ca2" id="BPMNShape_ca2">
        <omgdc:Bounds height="179.0" width="218.0" x="615.0" y="95.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="message.key" id="BPMNShape_message.key">
        <omgdc:Bounds height="30.0" width="30.0" x="680.4546290327024" y="259.2989795012902"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-F604975D-48EC-4E7A-821B-A04000C3F686" id="BPMNShape_sid-F604975D-48EC-4E7A-821B-A04000C3F686">
        <omgdc:Bounds height="28.0" width="28.0" x="878.0" y="170.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-53658386-F2E9-4179-A325-10D10D2E68B2" id="BPMNShape_sid-53658386-F2E9-4179-A325-10D10D2E68B2">
        <omgdc:Bounds height="40.0" width="40.0" x="120.0" y="164.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="sid-C822790C-BB69-4533-B85C-5C4EF26FB251" id="BPMNEdge_sid-C822790C-BB69-4533-B85C-5C4EF26FB251">
        <omgdi:waypoint x="833.0" y="184.17559523809524"></omgdi:waypoint>
        <omgdi:waypoint x="878.0000620035563" y="184.04166648213226"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-1924EBDC-29E8-435E-8773-C89DD1BB60B2" id="BPMNEdge_sid-1924EBDC-29E8-435E-8773-C89DD1BB60B2">
        <omgdi:waypoint x="700.0444559203768" y="288.57950782279084"></omgdi:waypoint>
        <omgdi:waypoint x="714.0" y="332.0"></omgdi:waypoint>
        <omgdi:waypoint x="139.0" y="332.0"></omgdi:waypoint>
        <omgdi:waypoint x="139.86577181208054" y="203.86577181208054"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-3B6BAFA7-99B8-4317-B578-1F989BA77B8F" id="BPMNEdge_sid-3B6BAFA7-99B8-4317-B578-1F989BA77B8F">
        <omgdi:waypoint x="60.0" y="184.0"></omgdi:waypoint>
        <omgdi:waypoint x="120.0" y="184.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-44CA7B3D-F45D-4532-83C0-26ACF00EEAC7" id="BPMNEdge_sid-44CA7B3D-F45D-4532-83C0-26ACF00EEAC7">
        <omgdi:waypoint x="160.0" y="184.0"></omgdi:waypoint>
        <omgdi:waypoint x="255.0" y="184.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-BED6DCCC-9D26-4F13-8349-00E6D5325C45" id="BPMNEdge_sid-BED6DCCC-9D26-4F13-8349-00E6D5325C45">
        <omgdi:waypoint x="531.0" y="184.2084592145015"></omgdi:waypoint>
        <omgdi:waypoint x="615.0" y="184.33534743202415"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>


regards,
Thomas
1 REPLY 1

vasile_dirla
Star Contributor
Star Contributor
This issue cannot be reproduced with the build from the latest sources.