Sorry, the correct post with the missing code fragments is:
Hello,
I have generated an Eclipse Metamodel from the BPMN schemas used in Activiti. Looking at the metamodel, BPMN elements can be generated in two ways, for instance, an end event can appear as
endEvent id="endevent1" name="End" (what Activiti Designer generates)
but also as
flowElement xsi:type="tEndEvent" id="endevent1" name="End".
Thus, a piece like this one:
sequenceFlow id="sequenceflow2" name="Sending to management" sourceRef="startevent1" targetRef="endevent1"
endEvent id="endevent1" name="End"
startEvent id="startevent1" name="End"
is executable in Activiti engine, whereas next fragment throws Activiti exceptions:
flowElement xsi:type="tSequenceFlow" id="sequenceflow2" name="" sourceRef="startevent1" targetRef="endevent1"
flowElement xsi:type="tEndEvent" id="endevent1" name="End"
flowElement xsi:type="tStartEvent" id="startevent1" name="End"
Does it mean that Activiti engine can only understand BPMN elements represented in the first way or could be also possible to use the second one by modifying something in the namespace declaration?
Thanks in advance,
Conchi Sanz