AnsweredAssumed Answered

End all subprocesses at end of process

Question asked by thomasplanchon on Jul 3, 2015
Latest reply on Jul 6, 2015 by thomasplanchon
Hi,

I would like to design a process with 2 parallel subprocesses and kill subprocess #1 when subprocess #2 ended.

Which element can I use to do that (cancelling of subprocess #1 when subprocess #2 ended) ?


  <process id="TicketWorkflowV2" name="Ticket Workflow V2" isExecutable="true">
    <startEvent id="startevent2" name="Start"></startEvent>
    <parallelGateway id="parallelgateway1" name="Parallel Gateway"></parallelGateway>
    <sequenceFlow id="flow71" sourceRef="parallelgateway1" targetRef="subprocess3"></sequenceFlow>
    <subProcess id="subprocess4" name="SubProcess2"></subProcess>
    <subProcess id="subprocess3" name="SubProcess1"></subProcess>
    <sequenceFlow id="flow72" sourceRef="parallelgateway1" targetRef="subprocess4"></sequenceFlow>
    <sequenceFlow id="flow75" sourceRef="startevent2" targetRef="parallelgateway1"></sequenceFlow>
    <endEvent id="endevent1" name="End"></endEvent>
    <sequenceFlow id="flow76" sourceRef="subprocess4" targetRef="endevent1"></sequenceFlow>
  </process>

Outcomes