Exporting business process models as BPMN DI files
The NodeJS snippet in this article shows how to first use the ADOXX Search API
to get a list of the IDs of all business process models in the repository.
The code then iterates over this list and uses the ADOXX Model Data API
to export the model data in BPMN DI format to the filesystem (folder 'target' in the current project folder).
note
The NodeJS snippet below uses Basic Authentication.
Replace the values in angle brackets with values that fit your setup, e.g. instead of <USERNAME> use the name of the user that should be used to access the REST API.
Click to view the code!
Loading code...
For more information on how to set up this example, refer to README.md in BPMN-DI_Export.