camunda-cmmn-moddle

Camunda moddle extensions for CMMN 1.1

Usage no npm install needed!

<script type="module">
  import camundaCmmnModdle from 'https://cdn.skypack.dev/camunda-cmmn-moddle';
</script>

README

camunda-cmmn-moddle

Build Status

This project defines the Camunda namespace extensions for CMMN 1.1 as a moddle descriptor.

Usage

Use it together with cmmn-moddle to validate Camunda CMMN 1.1 extensions.

var CmmnModdle = require('cmmn-moddle');

var camundaModdle = require('camunda-cmmn-moddle/resources/camunda');

var moddle = new CmmnModdle({ camunda: camundaModdle });

var humanTask = moddle.create('cmmn:HumanTask', {
  'assignee': 'foo'
});

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 library via

npm run all

License

Use under the terms of the MIT license.