Proper Merging of 2 Camunda bpmn files into one at system run time - bpmn

I read Camunda BPMN Model API here, I am wondering if I can combine/merge two different predefined bpmn files into one bpmn file at runtime. I don't like parsing the bpmn files' xml content and combine it programatically.

What do you mean with merging/combining?
Two completely different BPMN Models? If yes: deploy them both and let them interact with messages.

So far I can merge the predefined BPMN models into one bpmn file by using activity call and linking the predefined BPMN models into it programatically.

Related

How to mention software tool (MS Excel, SAP etc.) in an activity during process mapping

I have a question about process mapping (BPMN 2.0). In my project there are four activities where the task is done with one or more softwares. I have drawn a demo process flow. But I don't know if there is a specific way to mention the software tool? or We can simply mention the tool with the activity without adding an image of the tool?

Tools available for creating a BPMN file

Does anyone know if there is a free online tool available to create BPMN files except bpmn.io?
I have been using BPMN io for a while, and it does not allow me to change the task/event's ID from the GUI. Because of this, I have to do this manually. But it's not practical when there is a large number of events/tasks. Can someone tell me if there is a free online alternative for bpmn.io that can change the event's ID or if there is a way to change the id in bpmn.io? Did a background check on this and couldn't find one.
There is also the offering from Camunda - Camunda Web Modeler (CaWeMo). I don't think it does what you are asking though. I didn't think event IDs were part of the BPMN specification, since they are likely more about implementation than modeling, but I've not actually looked into the BPMN specification that deeply.
If the one you are using exports in a format that you find useful, you could update the event nodes as a post processing step.
You can try using https://kiegroup.github.io/kogito-online/#/editor/bpmn for bpmn authoring.

Mapping of YAWL onto BPMN and vice versa

Can somebody please guide me whether there is an overview (diagram?) showing which language elements map onto each other (or a construct in the other language) and which are unique in either BPMN or YAWL?
Can somebody please tell me which YAWL elements are not mapped onto BPMN elements and vice versa?
References: Aside from the two respective defining foundations, all I find is in-depth info is a research paper on Transformation of BPMN to YAWL (which is one-way).
Migrating YAWL files (*.ywl) to BPMN 2.0 schema files
Daniela Cristina Cascini Peixoto et. al.: A Comparison of BPMN and UML 2.0 Activity Diagrams
Workflow languages?
Map bpmn to wsdl
Which of these technology to use for BPM / Workflow engine? Any comparison of features?
Map bpmn to wsdl
Disclaimer: I am fluent in BPM (in particular BPMN), as well as graph theory in general, but I am new to YAWL.
M.F. found the a manuscript by
J.-H. Ye & S. Ye: Bidirectional mapping between YAWL and BPMN. We both do not have access to the manuscript (yet), but the abstract looks promising.
The modeling language mapping between BPMN and YAWL was researched. The transformation benefited the choice of different modeling languages and reduced duplication of development costs. As a proof of concept, the algorithm was implemented, and two open-sources plug-in called BPMN2YAWL and YAWL2BPMN are available in ProM6.0.
Source: Researchgate.net: Bidirectional mapping between YAWL and BPMN
There is a YAWL XML format definition which can be compared with the BPMN XML format definition.
[The YAWL Usergroup] would also like to point you to Apromore and a related discussion in the YAWL User Group Forum:
There is an XSD file that specifies the YAWL XML format
There is a tool called apromore which converts BPMN or other formats into the YAWL XML format.

Representing execution historic with BPMN 2.0 meta-model

I'm using BPMN2.0 meta-model to represent process models. I cannot find any attributes to keep execution historic. I'm wondering if actually BPMN 2.0 does not support that, or if something escapes me?
In other words, my question is: is it possible to represent execution historic with BPMN 2.0 meta-model? if yes, how?
Thank you for your help.
BPMN supports the Elements Auditing and Monitoring. They are meant to be hooks for auditing and monitoring related properties. For the definition of such properties the extensibility mechanism is to be used. Actual definitions are out of the scope of the specification. So, the answer is, that BPMN supports this, but leaves the details to the user or the tool vendors.

API or code to draw BPMN 2.0 processes programmatically + C#

Can any one suggest a solution for drawing process flow diagrams in BPMN 2.0 , flow charts, use case diagrams programmatically.
We are planning to read the input from an excel file. If getting some ideas we can change the input template as well.
You could try to use the BPMN Sketch Miner, which can generate BPMN in XML/SVG/PNG formats starting from textual descriptions of the diagram as input.
For simplistic BPMN diagrams, which mainly consist of a large collection of sequential acticities/ tasks, with a few gateways, using Zeebe's YAML workflows might be an alternative to defining a custom Excel format.
Creating a YAML workflow can be done with a regular text editor and does not require a graphical modelling tool. It is inspired by imperative programming concepts and aims to be easily understandable by programmers. Internally, Zeebe transforms a deployed YAML file to BPMN.