Topic
Prev Next

BPMN 2.0 XML

It is possible to serialize BPMN 2.0 Models in BPMN 2.0 XML. The serialized XML file contains both the model semantics as well as the diagram-interchange information. You can also import a BPMN 2.0 XML file into your project.

Access

For Serialization:

Select a Package in the Project Browser, then use one of the methods outlined here, to open the 'Publish Model Package' dialog.

Ribbon

Publish > Model Exchange > Export XMI > Export XMI > Publish

Menu

Package | Import/Export | Export Package to XMI | Publish

Context Menu

Right-click on Package | Import/Export | Export Package to XMI file | Publish

Keyboard Shortcuts

Ctrl + Alt + E | Publish

Serialize a Model

Step

Action

See also

1

Open the 'Publish Model Package' dialog.

Publish Model Package

2

In the 'XML Type' field, select 'BPMN 2.0 XML'.

3

Click on the Export button to initiate the BPMN 2.0 XML serialization.

Access

For Import:

Select a Package in the Project Browser, into which to import the XML file.  Then use one of the methods outlined here to open the 'Import Package from BPMN 2.0' dialog.

Ribbon

Publish > Model Exchange > Import XMI > Import Model XMI :  Other XML Formats > BPMN 2.0

Menu

Extensions | Import | BPMN 2.0

Context Menu

Right-click on Package | Import/Export | Import package from XMI file :  Other XML Formats > BPMN 2.0

Keyboard Shortcuts

Ctrl + Alt + I :  Other XML Formats > BPMN 2.0

Import BPMN 2.0 XML

Step

Action

See also

1

In the 'Import Package from BPMN 2.0' dialog, specify the file path name, or click on the file browser icon and choose a file.

2

Click on the Import button to import the file into the Package.

Notes

  • The Package being serialized is assumed to be self-contained
  • Only the contents of the selected Package are considered for serialization - child Packages (and their contents) are ignored
  • Serialization of these items in the BPMN 2.0 Types section of the Toolbox is not supported:
         -  InputOutputBinding
         -  Conversation Association
  • Exporting to and importing from BPMN 2.0 XML is supported in the Enterprise Architect Professional edition and above

Learn more