-
1. Re: How to import BPMN2 XML created by other tools to Eclipse and Guvnor
chriscarr Nov 2, 2011 7:04 PM (in response to abahrami2)1 of 1 people found this helpfulI also have the same question. I have a BPMN2 XML that was created in Eclipse. Now I want to import/view that in Guvnor.
= = = = = = = = = = = = = =
Update: You need to add the JBoss/Drools Guvnor plug-in: http://www.jboss.org/tools/download/installation/update_3_2.html
Once that is installed, the "Right Click On the BPMN -> Guvnor" option appears so that you can "upload" to Guvnor.
-
2. Re: How to import BPMN2 XML created by other tools to Eclipse and Guvnor
tsurdilovic Nov 10, 2011 11:10 PM (in response to chriscarr)Hi Chris, we added ability in the jbpm web designer to import existing bpmn2 or json into the designer by selecting a file on your file system or pasting it into a form. This will be available in the next designer version..but for now yes, you could use the Guvnor Repository plugin in Eclipse to connect to your running Guvnor instance and upload the file, or in Guvnor select Create->New File, give it the name and bpmn2 format and then upload it via Guvnor alone.
Hope this helps.
-
3. Re: How to import BPMN2 XML created by other tools to Eclipse and Guvnor
andlio Aug 31, 2012 4:11 AM (in response to tsurdilovic)Hi Tihomir,
I'm new in JBoss. I have installed JBoss AS 7 with jBPM and Drools.
I try to import a BPMN2 file created with Enterprise Architect 9.3. I open the BPMN2 process from "Knowlages > Pacakges > defaultPackage". In the designer, I selected "Import from BPMN2" from the toolbar and select the file.
But nothing happens...
Could you help me please ?
That is the imported file :
<?xml version="1.0" encoding="windows-1252"?>
<bpmn:definitions id="EAPK_1E29F0E1_5215_4b17_8335_E7B934969322" targetNamespace="www.sparxsystems.com.au/bpmn20" xmlns:ssbp="www.sparxsystems.com.au/bpmn20" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" exporter="Enterprise Architect" exporterVersion="9.3.933">
<bpmn:process id="EAID_DP000000_5215_4b17_8335_E7B934969322">
<bpmn:startEvent id="EAID_B3C0C933_D576_4103_8D8D_B59C92249ECA" name="Start1" isInterrupting="true" parallelMultiple="false"/>
<bpmn:endEvent id="EAID_C656F1B3_C908_4971_9CC9_C35590300A40" name="End1"/>
</bpmn:process>
<bpmn:collaboration id="EAID_DC000000_5215_4b17_8335_E7B934969322">
<bpmn:participant id="EAID_PR000000_5215_4b17_8335_E7B934969322" processRef="EAID_DP000000_5215_4b17_8335_E7B934969322"/>
<bpmn:participant id="EAID_PR000000_BE5B_4a95_85B4_FCA2A155FF66" name="process1" processRef="EAID_C75190E3_BE5B_4a95_85B4_FCA2A155FF66"/>
</bpmn:collaboration>
<bpmn:process id="EAID_C75190E3_BE5B_4a95_85B4_FCA2A155FF66" name="process1" isClosed="false" processType="None"/>
<bpmndi:BPMNDiagram id="EAID_B24E7D18_016A_4020_81C3_B82F0F7C7E61" name="BPMN 2.0">
<bpmndi:BPMNPlane id="EAID_PL000000_016A_4020_81C3_B82F0F7C7E61" bpmnElement="EAID_DP000000_5215_4b17_8335_E7B934969322">
<bpmndi:BPMNShape id="EAID_DO000000_016A_4020_81C3_B82F0F7C7E61" bpmnElement="EAID_C75190E3_BE5B_4a95_85B4_FCA2A155FF66">
<dc:Bounds x="193" y="215" width="135" height="75"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="EAID_DO000001_016A_4020_81C3_B82F0F7C7E61" bpmnElement="EAID_B3C0C933_D576_4103_8D8D_B59C92249ECA">
<dc:Bounds x="253" y="63" width="30" height="30"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="EAID_DO000002_016A_4020_81C3_B82F0F7C7E61" bpmnElement="EAID_C656F1B3_C908_4971_9CC9_C35590300A40">
<dc:Bounds x="589" y="198" width="30" height="30"/>
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
<bpmndi:BPMNDiagram id="EAID_85F1FD26_FF1D_4da5_9140_BE4663D3349F" name="process1">
<bpmndi:BPMNPlane id="EAID_PL000000_FF1D_4da5_9140_BE4663D3349F" bpmnElement="EAID_C75190E3_BE5B_4a95_85B4_FCA2A155FF66"/>
</bpmndi:BPMNDiagram>
</bpmn:definitions>
-
4. Re: How to import BPMN2 XML created by other tools to Eclipse and Guvnor
andlio Aug 31, 2012 7:46 AM (in response to andlio)I just understand my mistake : I used a "Business Process shape" instead of "Activity shape"
-
5. Re: How to import BPMN2 XML created by other tools to Eclipse and Guvnor
tsurdilovic Aug 31, 2012 9:19 AM (in response to andlio)Designer currently supports strictly what the jBPM runtime currently supports. As we add things to the runtime, we also add it to Designer. We could support the entire BPMN2 spec in Designer however it's a trade-off because we focus on being able to create executable business processes in the jBPM 5 runtime. Looking at your bpmn2, Designer would not understand the collaborations and multiple process elements (pools) as the runtime does not support that yet.
Hope this helps.
-
6. Re: How to import BPMN2 XML created by other tools to Eclipse and Guvnor
andlio Aug 31, 2012 9:09 AM (in response to tsurdilovic)Thank you for your answer.
I didn't know that jBPM 5 doesn't support the entire BPMN2 specs.
Where could I find the scope supported by jBPM 5 ?
-
7. Re: How to import BPMN2 XML created by other tools to Eclipse and Guvnor
tsurdilovic Aug 31, 2012 9:11 AM (in response to andlio)In the documentation
-
8. Re: How to import BPMN2 XML created by other tools to Eclipse and Guvnor
andlio Aug 31, 2012 10:00 AM (in response to tsurdilovic)Of course
But the documentation is huge
Thank you for your help
-
9. Re: How to import BPMN2 XML created by other tools to Eclipse and Guvnor
tsurdilovic Aug 31, 2012 1:39 PM (in response to andlio)Chapter 7 contains a table with supported elements and attributes:
http://docs.jboss.org/jbpm/v5.3/userguide/ch.core-bpmn.html#d0e2587
-
10. Re: How to import BPMN2 XML created by other tools to Eclipse and Guvnor
andlio Sep 3, 2012 3:51 AM (in response to tsurdilovic)Many thanks !!!
It's exactly what I was looking for !!