This conversion takes a BPMN 2.0 xml file and converts it to an XPDL 2.1 file.
Processing Assumptions
Only Processes, Collaboration and their supporting elements are considered thus Choreography and Conversation are ignored. (XPDL 2.1 doesn’t supports those excluded elements)
LaneSet that is defined in a Process is assigned to the Pool referring that process. If none exist, one is created. If the process has more than one lane set, only the first one is considered. (In XPDL, lanes are saved in Pools and only one pool by process is expected)
Documentations on elements supporting it are merged to one block and saved in the “Documentation” or “Description” XPDL element depending on availability (BPMN allows multiple documentation elements while XPDL only allows one)
BPMN 2.0 Data Objects are transformed to Data Objects Artifacts. (In XPDL 2.1, data objects are artifacts)
Data Stores are transformed to Data Objects Artifacts. (Data Associations do not exist in XPDL 2.1)
Data Input Associations and Data Output associations are transformed to Associations. (Data Associations do not exist in XPDL 2.1)
Event sub processes are transformed into regular sub processes. (Event sub process do not exist in XPDL 2.1)
Escalation events are transformed into None Events. (Escalation do not exist in XPDL 2.1)
Global activities are lost and the implementation of activities that were referring global activities is changed to the referred global activity. (Global activities do not exist in XPDL 2.1)