AnsweredAssumed Answered

Execution id has changed when from service task to IntermediateCatchEvent

Question asked by hoangds121 on Feb 21, 2014
Latest reply on Feb 25, 2014 by hoangds121
Hi all,

I've a process which confirm item available. But when I get execution id from service task createPurchaseItemServiceTask and query execution id that subscribed to signal purchaseItemComfirmedSignal, I get 2 different execution id. It make me confused. How can I get right execution id from service task to put it in the item, so that I can signal purchaseItemComfirmedSignal from another processes.

<subProcess id="confirmItemSP" name="Confirm item subprocess">
         <multiInstanceLoopCharacteristics isSequential="false"
               activiti:elementVariable="item" />
                         <serviceTask id="createPurchaseItemServiceTask" name="Create purchase item"
         <sequenceFlow targetRef="waitingConfirmSignal" sourceRef="createPurchaseItemServiceTask" />
         <intermediateCatchEvent id="waitingConfirmSignal">
            <signalEventDefinition signalRef="purchaseItemComfirmedSignal" />