camunda-bpmn-moddle

7.0.1 • Public • Published

camunda-bpmn-moddle

CI

This project defines the Camunda namespace extensions for BPMN 2.0 as a moddle descriptor.

Usage

Use it together with bpmn-moddle to validate Camunda BPMN 2.0 extensions.

import BpmnModdle from 'bpmn-moddle';

import camundaModdle from 'camunda-bpmn-moddle/resources/camunda.json';

const moddle = new BpmnModdle({ camunda: camundaModdle });

const serviceTask = moddle.create('bpmn:ServiceTask', {
  'javaDelegate': 'my.company.SomeDelegate'
});

Building the Project

To run the test suite that includes XSD schema validation you must have a Java JDK installed and properly exposed through the JAVA_HOME variable.

Execute the test via

npm test

Perform a complete build of the application via

npm run all

Behaviors

Inside a bpmn-js editor pair this extension with camunda-bpmn-js-behaviors to ensure Camunda properties are created, updated and deleted as expected.

License

Use under the terms of the MIT license.

Dependencies (0)

    Dev Dependencies (10)

    Package Sidebar

    Install

    npm i camunda-bpmn-moddle

    Weekly Downloads

    16,078

    Version

    7.0.1

    License

    MIT

    Unpacked Size

    26.5 kB

    Total Files

    4

    Last publish

    Collaborators

    • vsgoulart
    • skaiir-camunda
    • marstamm
    • bpmn-io-admin
    • nikku
    • barmac
    • philippfromme
    • maxtru