AnsweredAssumed Answered

Designer issues with Subprocess

Question asked by mark1970 on Feb 23, 2011
Latest reply on Jul 29, 2011 by walterjs
Hi all,
we're currentely evaluating using activiti for a BPMN 2.0 project.We would need to use intensively subprocesses, however we have found some issues with the designer.

#1 The generated BPMN 2.0 xml contains a wrong id for subprocesses' startEvent/endEvent.
See this example generated by Activiti Designer:

  <process id="helloworld" name="helloworld">
    <startEvent id="startevent1" name="Start"></startEvent>
    <endEvent id="endevent1" name="End"></endEvent>
    <subProcess id="subprocess1" name="Sub Process">
      <startEvent id="startevent2" name="Start"></startEvent>
      <serviceTask id="subprocess1_servicetask1" name="Service Task" activiti:class="sample.JavaService"></serviceTask>
      <endEvent id="endevent2" name="End"></endEvent>
      <sequenceFlow id="subprocess1_flow3" name="" sourceRef="subprocess1_startevent2" targetRef="subprocess1_servicetask1"></sequenceFlow>
      <sequenceFlow id="subprocess1_flow4" name="" sourceRef="subprocess1_servicetask1" targetRef="subprocess1_endevent2"></sequenceFlow>
    </subProcess>
    <sequenceFlow id="flow1" name="" sourceRef="startevent1" targetRef="subprocess1"></sequenceFlow>
    <sequenceFlow id="flow2" name="" sourceRef="subprocess1" targetRef="endevent1"></sequenceFlow>
  </process>
Here, the sequenceFlow references a source node "subprocess1_startevent2" which should be rather "startevent2".
 <sequenceFlow id="subprocess1_flow3" name="" sourceRef="subprocess1_startevent2" targetRef="subprocess1_servicetask1"></sequenceFlow>
The same for subprocess1_flow4.

#2 We would need very much a reusable sub process definition in the Designer. Do you know in which release will be available Call Activity in the Eclipse Designer ?

Thanks a lot
Mark

Outcomes