cancel
Showing results for 
Search instead for 
Did you mean: 

Import bpmn file not from Activiti?

norberts
Champ in-the-making
Champ in-the-making
Hey,

I'm using the source base of 5.12 for my adaption of the Designer. I was trying to open bpmn files externally defined to see how my tool behaves with "real" business processes from the real world.
When I try to open the file however, the drawing pane remains empty. I guess the element definition is not sufficient?
How could I alter, for example the attached example, that way, that it would be possible to open it properly with the Designer?

Best regards
10 REPLIES 10

jbarrez
Star Contributor
Star Contributor
It doesn't have any BPMN DI info to start with … but it should show something at least, probably screwed up.

Is it really just a blank panel?

norberts
Champ in-the-making
Champ in-the-making
Yeah, the whole drawing pane is empty. Nothing displayed, no scrolling possible so really nothing there…
I guess the main missing thing is the whole graphical information per element that Activiti normally writes into the files…

jbarrez
Star Contributor
Star Contributor
I tried it with the latest release of the designer and I get a picture (the auto layout actually adds the DI on the fly so it looks OK). See the attachment (rename .txt to .png)

norberts
Champ in-the-making
Champ in-the-making
Well, the auto layout seems to be not available in 5.12. Anyway, I don't need the graphical representation any more so I wrote a small parser that reads such an xml file in and creates the elements. That's all I need.

marvin1
Champ in-the-making
Champ in-the-making
I have the same question. I tried to import a valid BPMN file, created with Yaoqiang, but there is nothing shown in Eclipse.

marvin1
Champ in-the-making
Champ in-the-making
I will try to find the problem, but can someone help me to find the Layout function in the code. I was only able to find the Kickstart Layouter.

frederikherema1
Star Contributor
Star Contributor
Take a look here, for the auto-layout implementation:

https://github.com/Activiti/Activiti/tree/master/modules/activiti-bpmn-layout

Also, take a look in the "problems" or "error log" view in eclipse, prolly the uncaucht exceptions during import will be listed there…

jillianmiller
Champ in-the-making
Champ in-the-making
somehow your conversation gave me an idea to solve a certain problem .so thanks.

pokies online

marvin1
Champ in-the-making
Champ in-the-making
Strange thing, it's working now. No idea what the problem was.
Thanks!

Do I get it right that the auto-layout is triggered only on a file import, or is there any way to do an auto-layout once a diagram is drawn?