AnsweredAssumed Answered

Stealth run of process with 'empty' user task

Question asked by udoderk on Dec 20, 2012
Latest reply on Dec 24, 2012 by udoderk
Hi activiti friends and developers,
I use business process, created  with activiti designer. That process has an user task without defined form . I login as "kermit" on Activiti Explorer 5.10. ( I use the demo database). I deploy that process into activiti explorer 5.10 and start it.

After start appears the message about process start. I see no tasks (correct, such no defined), but if i delete such process, appears the dialog-warrning about, that process instance still running. I have expected that such a process must be stopped.

Something is buggy (imo), either compute of the running processes or endless run of such processes.



<?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: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/test">
  <process id="processWithEmptyUserTask" name="processWithEmptyUserTask">
    <startEvent id="startevent1" name="Start"></startEvent>
    <userTask id="usertask1" name="Empty User Task"></userTask>
    <sequenceFlow id="flow1" name="" sourceRef="startevent1" targetRef="usertask1"></sequenceFlow>
    <endEvent id="endevent1" name="End"></endEvent>
    <sequenceFlow id="flow2" name="" sourceRef="usertask1" targetRef="endevent1"></sequenceFlow>
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_processWithEmptyUserTask">
    <bpmndi:BPMNPlane bpmnElement="processWithEmptyUserTask" id="BPMNPlane_processWithEmptyUserTask">
      <bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
        <omgdc:Bounds height="35" width="35" x="180" y="150"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="usertask1" id="BPMNShape_usertask1">
        <omgdc:Bounds height="55" width="105" x="260" y="140"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
        <omgdc:Bounds height="35" width="35" x="420" y="150"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
        <omgdi:waypoint x="215" y="167"></omgdi:waypoint>
        <omgdi:waypoint x="260" y="167"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
        <omgdi:waypoint x="365" y="167"></omgdi:waypoint>
        <omgdi:waypoint x="420" y="167"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>

Outcomes