camunda-cmmn-moddle
v1.0.0
Published
Camunda moddle extensions for CMMN 1.1
Downloads
2,121
Readme
camunda-cmmn-moddle
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.