|
Re: BPMN code generated by Eclipse is strange ... [message #5988 is a reply to message #5971] |
Fri, 23 January 2009 16:26 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
Thanks Stephane for forwarding.
Maxime, the code is not strange. It is necessary to do the mapping with
the bpmn ecore file. We use an id attribute, and XMI brings its own id
on serialization.
You cannot use the name to refer to a task. The XMI id tags are there to
keep the model from breaking.
Thanks,
Antoine
Stephane Drapeau wrote:
> <<Forwarding to the BPMN modeler newsgroup>>
>
> Stephane Drapeau
> Obeo
>
> Maxime a écrit :
>> I drew a BPMN schema with Eclipse and the generated code is really
>> complex !
>>
>> You can see an example below :
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <bpmn:BpmnDiagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
>> xmlns:bpmn="http://stp.eclipse.org/bpmn"
>> xmi:id="_IkqpceISEd24v-Pz8RK2sQ" iD="_IkqpcOISEd24v-Pz8RK2sQ">
>> <pools xmi:type="bpmn:Pool" xmi:id="_Ikqpd-ISEd24v-Pz8RK2sQ"
>> iD="_IkqpduISEd24v-Pz8RK2sQ" name="Pool">
>> <vertices xmi:type="bpmn:Activity" xmi:id="_IkqpeeISEd24v-Pz8RK2sQ"
>> iD="_IkqpeOISEd24v-Pz8RK2sQ" outgoingEdges="_o1odIeIXEd2U2cV-da9zcg"
>> incomingEdges="_LGAzsefXEd2KnoP9oe57fw" name="Tache 1"
>> activityType="Task"/>
>> <vertices xmi:type="bpmn:Activity" xmi:id="_lPYvMeIXEd2U2cV-da9zcg"
>> iD="_lPYvMOIXEd2U2cV-da9zcg" outgoingEdges="_L-QqUefXEd2KnoP9oe57fw"
>> incomingEdges="_o1odIeIXEd2U2cV-da9zcg" name="Tache 2"/>
>> <vertices xmi:type="bpmn:Activity" xmi:id="_J21q0efXEd2KnoP9oe57fw"
>> iD="_J21q0OfXEd2KnoP9oe57fw" outgoingEdges="_LGAzsefXEd2KnoP9oe57fw"
>> activityType="EventStartEmpty"/>
>> <vertices xmi:type="bpmn:Activity" xmi:id="_KTM2sefXEd2KnoP9oe57fw"
>> iD="_KTM2sOfXEd2KnoP9oe57fw" incomingEdges="_L-QqUefXEd2KnoP9oe57fw"
>> activityType="EventEndEmpty"/>
>> <sequenceEdges xmi:type="bpmn:SequenceEdge"
>> xmi:id="_o1odIeIXEd2U2cV-da9zcg" iD="_o1odIOIXEd2U2cV-da9zcg"
>> source="_IkqpeeISEd24v-Pz8RK2sQ" target="_lPYvMeIXEd2U2cV-da9zcg"/>
>> <sequenceEdges xmi:type="bpmn:SequenceEdge"
>> xmi:id="_LGAzsefXEd2KnoP9oe57fw" iD="_LGAzsOfXEd2KnoP9oe57fw"
>> source="_J21q0efXEd2KnoP9oe57fw" target="_IkqpeeISEd24v-Pz8RK2sQ"/>
>> <sequenceEdges xmi:type="bpmn:SequenceEdge"
>> xmi:id="_L-QqUefXEd2KnoP9oe57fw" iD="_L-QqUOfXEd2KnoP9oe57fw"
>> source="_lPYvMeIXEd2U2cV-da9zcg" target="_KTM2sefXEd2KnoP9oe57fw"/>
>> </pools>
>> </bpmn:BpmnDiagram>
>>
>>
>> My problem is that I would like to transform a BPMN schema to a BPEL
>> code and this BPMN code doesn't match with the BPMN meta-model !
>>
>> Do you know how could I do to get a BPMN code like this :
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <BpmnDiagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" >
>> <Pool name="Mon Pool">
>> <Activity outgoingEdges="task1_to_task2" name="Task1"
>> activityType="Task"/>
>> <Activity incomingEdges="task1_to_task2" name="Task2"/>
>> <SequenceEdge source="task1" target="task2"/>
>> </Pool>
>> </BpmnDiagram>
>>
>> So without all these namespaces !
>>
>> Thank you in advance.
>>
>> Maxime
|
|
|
Powered by
FUDForum. Page generated in 0.02355 seconds