Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The BPMN to XPDL Conversion Plugin is used to convert BPMN xml to XPDL xml format to be uploaded to Joget Process Builder. 

Plugin Information

Plugins Available in the Bundle:

...

Figure 1: BPMN in Visual Paradigm and XPDL in Joget (Basic decision model)


Image AddedImage Added

Figure 2: BPMN in BPMN.io and XPDL in Joget (Subflow Example, for more information: see this link)

Get Started

Current Supported Notations

BPMNXPDL in Joget
TaskActivity
Sub-ProcessSubflow
Start EventStart
End EventEnd
GatewayRoute
-Participant

Steps

Get BPMN xml file

Obtain any .bpmn or .xml file that is in BPMN 2.0 xml format.

...

1. Create a form with basic file upload fields, one for BPMN file upload and one for XPDL file output.

Figure 23: Form for BPMN and XPDL File Uploads

...

2. Attach the BPMN to XPDL Conversion plugin at Post Processing Tool. Run tool on both data creation and update.

Figure 34: Attaching BPMN to XPDL Conversion tool

...

3. Select the current form, and choose the file uploads fields that we created earlier for respective bpmn and xpdl fields. For more information, please refer to BPMN to XPDL Conversion Properties.

Figure 45: Plugin Configurations


4. Click on right upper corner Generate App > Generate CRUD.

Figure 56: Generate CRUD for form


5. Save and publish the app. Run the UI. Click new to add a new record. In the BPMN File Upload field, upload a BPMN xml file. After saving the form, the XPDL File will be converted at the XPDL File Output field.

Figure 67: Run UI and add new record

...

6. Click to edit the record saved earlier. Click on xpdlxml.xml to download the XPDL File.

Figure 78: Download converted XPDL file

...

7. Now go to Process Builder. Click + Add New process and click on XPDL view. Click on Upload XPDL button.

Figure 89: Add new process to import XPDL

...

8. Choose the XPDL file we downloaded in the form. Now go back to Design tab. We can see that the XPDL file has been successfully imported, same as the BPMN file. Now save the process. It will show that the builder is successfully saved. 

Figure 910: Successful imported XPDL to Joget Process

...

Configure BPMN to XPDL Conversion

Figure 1011: Plugin Configurations for tool

...