
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
flowable-cmmn-moddle
Advanced tools
Flowable moddle extensions for CMMN 1.1. This package provides Flowable-specific extensions for cmmn-moddle, enabling support for Flowable's custom CMMN elements and attributes in cmmn-js based applications.
npm install flowable-cmmn-moddle
import CmmnModeler from 'cmmn-js/lib/Modeler';
import flowableDescriptor from 'flowable-cmmn-moddle/resources/flowable';
const modeler = new CmmnModeler({
container: '#canvas',
moddleExtensions: {
flowable: flowableDescriptor
}
});
import CmmnModeler from 'cmmn-js/lib/Modeler';
import propertiesPanelModule from 'cmmn-js-properties-panel-flowable';
import propertiesProviderModule from 'cmmn-js-properties-panel-flowable/lib/provider/flowable';
import flowableDescriptor from 'flowable-cmmn-moddle/resources/flowable';
const modeler = new CmmnModeler({
container: '#canvas',
propertiesPanel: {
parent: '#properties-panel'
},
additionalModules: [
propertiesPanelModule,
propertiesProviderModule
],
moddleExtensions: {
flowable: flowableDescriptor
}
});
This package extends the CMMN 1.1 meta-model with Flowable-specific elements and attributes:
flowable:historyTimeToLive - Set history time to live for casesflowable:initiatorVariableName - Define initiator variable nameflowable:candidateStarterGroups - Set candidate starter groupsflowable:assignee - Task assigneeflowable:candidateUsers - Candidate usersflowable:candidateGroups - Candidate groupsflowable:dueDate - Task due dateflowable:followUpDate - Task follow-up dateflowable:priority - Task priorityflowable:formKey - Associated form keyflowable:formFieldValidation - Form field validationflowable:processBinding - Process binding typeflowable:processVersion - Process versionflowable:processTenantId - Process tenant IDflowable:fallbackToDefaultTenant - Fallback to default tenantflowable:sameDeployment - Use same deploymentflowable:caseBinding - Case binding typeflowable:caseVersion - Case versionflowable:caseTenantId - Case tenant IDflowable:decisionBinding - Decision binding typeflowable:decisionVersion - Decision versionflowable:decisionTenantId - Decision tenant IDflowable:mapDecisionResult - Result mappingflowable:resultVariable - Result variableflowable:caseExecutionListener - Case execution listenersflowable:taskListener - Task listenersflowable:variableListener - Variable listenersflowable:in - Input variable mappingflowable:out - Output variable mappingflowable:repeatOnStandardEvent - Repeat on standard eventflowable:counterVariable - Counter variableflowable:maxInstanceCount - Maximum instance countflowable:milestoneVariable - Milestone variableThis extension uses the namespace http://flowable.org/cmmn with the prefix flowable:.
Example CMMN XML with Flowable extensions:
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/CMMN/20151109/MODEL"
xmlns:flowable="http://flowable.org/cmmn"
targetNamespace="http://flowable.org/cmmn">
<case id="myCase" flowable:initiatorVariableName="initiator">
<casePlanModel id="casePlanModel" flowable:formKey="startForm">
<planItem id="humanTaskPlan" definitionRef="humanTask"/>
<humanTask id="humanTask"
flowable:assignee="${initiator}"
flowable:candidateGroups="managers"
flowable:formKey="taskForm"/>
</casePlanModel>
</case>
</definitions>
git clone https://github.com/jylups/flowable-cmmn-moddle.git
cd flowable-cmmn-moddle
npm install
npm test
npm run lint
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
Flowable moddle extensions for CMMN 1.1
We found that flowable-cmmn-moddle demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.