1 Reply Latest reply on May 29, 2012 12:50 AM by swiderski.maciej

    boundary signal event should specify an event type

    biraneto

      Hi

       

      I am having a problem with a subprocess' signal boundary event returning an error "Event node *name* [*id*] should specify an event type". This seems odd to me and I am wondering what am I missing or doing wrong.

       

      I looked for source code on the matter and found code inside RuleFlowProcessValidator thowing the error due to "eventNode.getEventFilters().size() == 0".

      Do I need something else on the signalEventDefinition block?

       

      Any help is appreciated, thanks

       

      My process xml source code is shown bellow:

       

      <?xml version="1.0" encoding="UTF-8"?>

      <definitions id="Definition" targetNamespace="http://jbpm.org/example/bpmn2"

                typeLanguage="http://www.java.com/javaTypes" expressionLanguage="http://www.mvel.org/2.0"

                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"

                xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"

                xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI"

                xmlns:tns="http://www.jboss.org/drools">

                <itemDefinition id="CTX_PROCESS_IDItem" structureRef="java.lang.Long" />

       

                <signal id="EventSignal" name="EventSignal" />

       

       

                <process processType="Private" isExecutable="true"

                          id="testeSubprocesso2_0_0" name="testeSubprocesso2">

                          <extensionElements>

                          </extensionElements>

                          <property id="CTX_PROCESS_ID" itemSubjectRef="tns:CTX_PROCESS_IDItem" />

       

       

                          <boundaryEvent id="id_5" name="id_5" attachedToRef="id_3">

                                    <incoming>id_7</incoming>

                                    <outgoing>id_8</outgoing>

                                    <signalEventDefinition signalRef="EventSignal">

                                    </signalEventDefinition>

                          </boundaryEvent>

       

       

                          <subProcess id="id_3" triggeredByEvent="false">

                                    <startEvent id="sub_SUbSUbSubid_11" name="sub_SUbSUbSubid_11">

                                              <outgoing>sub_SUbSUbSubid_4</outgoing>

                                    </startEvent>

                                    <endEvent id="sub_SUbSUbSubid_12" name="sub_SUbSUbSubid_12">

                                              <outgoing>sub_SUbSUbSubid_4</outgoing>

                                    </endEvent>

                                    <sequenceFlow id="sub_SUbSUbSubid_4" name="sub_SUbSUbSubid_4"

                                              sourceRef="sub_SUbSUbSubid_11" targetRef="sub_SUbSUbSubid_12">

                                    </sequenceFlow>

                          </subProcess>

       

       

                          <endEvent id="id_2" name="id_2">

                                    <incoming>id_8</incoming>

                          </endEvent>

                          <endEvent id="id_9" name="id_9">

                                    <incoming>id_10</incoming>

                          </endEvent>

                          <startEvent id="id_4" name="id_4">

                                    <outgoing>id_6</outgoing>

                          </startEvent>

                          <sequenceFlow id="id_10" name="id_10" sourceRef="id_3"

                                    targetRef="id_9">

                          </sequenceFlow>

                          <sequenceFlow id="id_6" name="id_6" sourceRef="id_4"

                                    targetRef="id_3">

                          </sequenceFlow>

                          <sequenceFlow id="id_8" name="id_8" sourceRef="id_5"

                                    targetRef="id_2">

                          </sequenceFlow>

       

       

                </process>

      </definitions>