cancel
Showing results for 
Search instead for 
Did you mean: 

Signal Event is not FIRED

mr_mister
Champ in-the-making
Champ in-the-making
Hi,
I have a very simple process to demonstrate my issue. The problem is the Signal event couldn't be FIRED. I guess I didn't configure well. Can somebody help me please,
[img]https://lh4.googleusercontent.com/-7Z17MItGdpc/VM1pwPY-VjI/AAAAAAAABVg/ncGEMxCbHvE/s744/Activiti_Sig...[/img]


<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/test">
  <signal id="signal1" name="signal1"></signal>
  <signal id="aSignal" name="aSignal"></signal>
  <collaboration id="Collaboration">
    <participant id="pool1" name="Pool" processRef="process_pool1"></participant>
  </collaboration>
  <process id="process_pool1" name="process_pool1" isExecutable="true">
    <laneSet id="laneSet_process_pool1">
      <lane id="lane1" name="DS">
        <flowNodeRef>startevent1</flowNodeRef>
        <flowNodeRef>signalintermediatethrowevent1</flowNodeRef>
      </lane>
      <lane id="lane2" name="OP">
        <flowNodeRef>endevent1</flowNodeRef>
        <flowNodeRef>signalintermediatecatchevent1</flowNodeRef>
        <flowNodeRef>usertask1</flowNodeRef>
      </lane>
    </laneSet>
    <startEvent id="startevent1" name="Start"></startEvent>
    <endEvent id="endevent1" name="End"></endEvent>
    <intermediateThrowEvent id="signalintermediatethrowevent1" name="SignalThrowEvent">
      <extensionElements>
        <activiti:executionListener event="start" class="com.tung.activiti.servicetask.WaitServiceTask"></activiti:executionListener>
      </extensionElements>
      <signalEventDefinition signalRef="aSignal"></signalEventDefinition>
    </intermediateThrowEvent>
    <sequenceFlow id="flow1" sourceRef="startevent1" targetRef="signalintermediatethrowevent1"></sequenceFlow>
    <intermediateCatchEvent id="signalintermediatecatchevent1" name="SignalCatchEvent">
      <extensionElements>
        <activiti:executionListener event="start" class="com.tung.activiti.servicetask.WaitServiceTask"></activiti:executionListener>
      </extensionElements>
      <signalEventDefinition signalRef="aSignal"></signalEventDefinition>
    </intermediateCatchEvent>
    <userTask id="usertask1" name="User Task"></userTask>
    <sequenceFlow id="flow2" sourceRef="signalintermediatecatchevent1" targetRef="usertask1"></sequenceFlow>
    <sequenceFlow id="flow3" sourceRef="usertask1" targetRef="endevent1"></sequenceFlow>
  </process>

2 REPLIES 2

mr_mister
Champ in-the-making
Champ in-the-making
Somebody help, please

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

I have found similar jUnit test.
org.activiti.engine.test.bpmn.event.signal.SignalEventTest#testSignalStartEventFromProcess
Regards
Martin