cancel
Showing results for 
Search instead for 
Did you mean: 

bpmndi generation

peterwanschou
Champ in-the-making
Champ in-the-making
When i use the activiti designer the bpmndi entries will generated automatic if my diagram have no bpmndi entries.

I generate at my project BPMN 2.0 activiti files and deploy it without use of the designer. With activiti-probe i have now no diagram information and cannot look at my process (active instances).

Can i generate this information?

Cheers
Peter
4 REPLIES 4

peterwanschou
Champ in-the-making
Champ in-the-making
i will search at the activiti designer code … but when i want to use the class BpmnDIExport i need a lot of eclipse jars …
there must be an other way - i hope

trademak
Star Contributor
Star Contributor
Hi,

BPMN DI can be generated based on a graphical diagram design of a process.
So if you only have BPMN 2.0 XML with DI it's difficult for Probe to generate a nice diagram out of this.
The Activiti Designer has code to import a BPMN 2.0 XML diagram without DI and create a diagram out of it, so that code could be used to generate a diagram in Probe.
But you're right there are a couple of Eclipse dependencies there.
For now I would suggest to use Activiti Designer to overcome this issue.

Best regards,

peterwanschou
Champ in-the-making
Champ in-the-making
Hi,

My workaround:
- Open my generated BPMN2.0 with the designer
- Use action export image
- get the bpmndi entries and copy it to a special file

When i generate now again the BPMN2.0 xml i take the before generated bpmndi entries and attach them to my process. The bad thing is that i must rename all generated bpmndi elements, because the designer creates his own naming.

I use Activiti in my master thesis for interorganizational workflow communication and i am not allowed to rename prozess steps, in special id's.

Best regards,
Peter

trademak
Star Contributor
Star Contributor
Hi,

Okay, maybe we should make that optional at the import. So that you can choose if you want to keep the current IDs or do the renaming.

Best regards,