miyuesc / bpmn-process-designer

bpmn-js 工具库
https://juejin.cn/post/7304831120710434868
Apache License 2.0
1.64k stars 464 forks source link

Conversion from generic bpmn to flowable #66

Closed marijap5 closed 2 months ago

marijap5 commented 3 months ago

Hi, Kudos for your great work! We are trying to convert this solution to Angular. We deeply analyzed your code, but we have one confusion. How does the conversion from generic bpmn to flowable happen? image *The flowable.json file is also provided as flowable descriptor, but when we export the diagram it is being exported and created as a generic bpmn. This is our saveXML code: image

miyuesc commented 3 months ago

Sorry, my English is not very good, so these contents are from translation software.

In bpmn-js, the basic BPMN2.0 specification is provided by default, which is in bpmn-moddle.

At the same time, BpmnPropertiesProviderModule will only provide some basic properties that comply with the BPMN specification.

These properties are reflected in xml as 'bmn:xxx', or there is no 'bpmn:' part.

If you need to use flowable, you can learn about it according to the property panel of the Camunda platform.