processpiper
processpiper copied to clipboard
Exporting diagram to XML
Hi! Awesome library! Thank you for the contribution. I wanted to know if you were thinking of adding an XML export / import to the library. Thank you!
Hi, do you mean BPEL?
yes!
Same question, but BPMN 2.0 ! Would be awesome addition.
@nraffa-five1 @vetertann Thanks for providing feedback. I try to understand your use cases better. Why do you need to export the diagram to BPEL? Do you mind to share your use cases?
Hi @csgoh, thank you for replying! My use case is that I need to export the BPMN 2.0 Diagram so that my user can edit it if he doesn't like it. This is because at first the diagram gets automatically generated but I would like to offer the possibility of export. A PNG picture file wouldn't help much as they can't edit that, that is why I need the generation of XML code for the BPMN 2.0 Diagram. Thank you!
@csgoh same as above, first I pass a simple DAG and create BPMN model, then I need user to further work with the model, add gates and/or rename something ,some details that were not in the initial design. Your library nails layout with lanes, which is great.
@nraffa-five1 @vetertann It sounds like you guys want to export to the BPMN XML specification, not BPEL. They have completely different file formats and serve different purposes. Let me find some time to add the functionality. 😄
That would be awesome! Let me know if I can support you in any way! I would love to understand how does that mapping happen under the hood.
Same here, and that would be awesome!
Still working on it. Stay tuned. ☕
oh damnnnn!! ❤️ thank you so much, you rock!
@nraffa-five1 @vetertann ProcessPiper v0.8.0 now supports the export to .bpmn function. Give it a try. See this page for more information
Oh woooowww, you are amazing @csgoh !!! Thank you so much! I will give it a try, but seeing it on the first glimpse, it works amazing!
@csgoh Run first tests, works like a charm, with PERFECT layouting. Incredible, even Camunda's Fluent Builder fails to do this, not talking about lanes and colors... This is amazing, really, thank you!
hi @csgoh ! once again, i thank you for your incredible work. It works like a charm when i import the code into https://demo.bpmn.io/
the thing is that when i import it into flowable it just recognizes the lane, afterwards all the elements and connections are not shown sadly. Can you think of what it could be the reason for it? Do you know if flowable uses another syntax? Thank you so much!
Hi @nraffa-five1, I have tested the exported .bpmn file with bpmn.io and Sparx EA, but I have not tested it with flowable. Something I can try if I can find some free time 😀. I suspect that flowable is more stringent in terms of importing external .bpmn file. Can you create a simple diagram [Start->Task1->Stop] in processpiper and in flowable and compare both the exported files?
Hi @csgoh ! Yes of course, I will do that. Thank you very much. I will let you know what I find :)
Hii, I played around a bit with the import/export. I (kinda) imported a bpmn model successfully into Flowable when it had one pool and at least two lanes. The lanes showed up pretty messy. I guess for executable models, lanes and pools are not needed anyways. Is there a possibility to generate process piper bpmns without any Pools/Lanes @csgoh? Let me know, if I can help here 😊
@martisaw Thanks for your feedback. At this point of time, I have no plan to make the business process model executable. ProcessPiper is about visualising the business process, it was never intended to be used for execution.
@nraffa-five1 Can you try exporting a bpmn model to Flowable with the latest version v0.8.1?