Skip to main content
Version: ADONIS 14-15/ADOIT 15-16/ADOGRC 11-12

Importing business process models from BPMN DI files to ADONIS

The NodeJS snippet in this article shows how to first iterate through a set of bpmn files in the project's assets folder and then for each one uses the ADONIS Import BPMN DI API to import the file's content as BPMN model to ADONIS.

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!

Source Code

Loading code...

For more information on how to set up this example, refer to README.md in BPMN-DI_Import.