Migrating YAWL files (*.ywl) to BPMN 2.0 schema files

心不动则不痛 提交于 2020-01-23 16:44:45

问题


I'm trying to migrate from YAWL engine to another workflow engine, but I have about 500 (*.ywl) files, which I'm trying to convert to BPMN 2.0 and I think it's not reasonable to convert all of them manually. The question is if there is any tool to convert all of these files automatically?


回答1:


Looks like not, you will have to make a parser to translate to bpmn xml.




回答2:


Strangely, I just learned about YAWL and I am indeed very interested in Buisness Process Modeling (BPM). In other words, it does not seem to be too wide spread in the European business world.

The cool thing is that for both BPMN and YAWL is stored as XML which means that they are XML Schema Definition (XSD) for both of them:

XSD can be used to express a set of rules to which an XML document must conform in order to be considered "valid" according to that schema. However, unlike most other schema languages, XSD was also designed with the intent that determination of a document's validity would produce a collection of information adhering to specific data types.

  1. For BPMN, there are five relevant XSDs, see http://www.omg.org/spec/BPMN/2.0/
  2. For YAWL, I found a YAWL schema XSD on github but I am not sure whether that is the relevant one.

This should give you a head start if you are forced to write some yawl2bpmn converter yourself.

Further reading

  • Short recipe how to write a .NET parser for BPMN
  • How to transform XML for one XSD into another XML format that is very similar but has a different XSD file?
  • Discussion on the topic within the Camunda forum


来源:https://stackoverflow.com/questions/57035728/migrating-yawl-files-ywl-to-bpmn-2-0-schema-files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!