npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

flowable-cmmn-moddle

v1.1.0

Published

Flowable moddle extensions for CMMN 1.1

Readme

flowable-cmmn-moddle

npm version CI

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.

Installation

npm install flowable-cmmn-moddle

Usage

With cmmn-js

import CmmnModeler from 'cmmn-js/lib/Modeler';
import flowableDescriptor from 'flowable-cmmn-moddle/resources/flowable';

const modeler = new CmmnModeler({
  container: '#canvas',
  moddleExtensions: {
    flowable: flowableDescriptor
  }
});

With cmmn-js Properties Panel

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
  }
});

Supported Flowable Extensions

This package extends the CMMN 1.1 meta-model with Flowable-specific elements and attributes:

Case Elements

  • flowable:historyTimeToLive - Set history time to live for cases
  • flowable:initiatorVariableName - Define initiator variable name
  • flowable:candidateStarterGroups - Set candidate starter groups

Human Tasks

  • flowable:assignee - Task assignee
  • flowable:candidateUsers - Candidate users
  • flowable:candidateGroups - Candidate groups
  • flowable:dueDate - Task due date
  • flowable:followUpDate - Task follow-up date
  • flowable:priority - Task priority
  • flowable:formKey - Associated form key
  • flowable:formFieldValidation - Form field validation

Process Tasks

  • flowable:processBinding - Process binding type
  • flowable:processVersion - Process version
  • flowable:processTenantId - Process tenant ID
  • flowable:fallbackToDefaultTenant - Fallback to default tenant
  • flowable:sameDeployment - Use same deployment

Case Tasks

  • flowable:caseBinding - Case binding type
  • flowable:caseVersion - Case version
  • flowable:caseTenantId - Case tenant ID

Decision Tasks

  • flowable:decisionBinding - Decision binding type
  • flowable:decisionVersion - Decision version
  • flowable:decisionTenantId - Decision tenant ID
  • flowable:mapDecisionResult - Result mapping
  • flowable:resultVariable - Result variable

Listeners

  • flowable:caseExecutionListener - Case execution listeners
  • flowable:taskListener - Task listeners
  • flowable:variableListener - Variable listeners

Variable Mapping

  • flowable:in - Input variable mapping
  • flowable:out - Output variable mapping

Repetition Rules

  • flowable:repeatOnStandardEvent - Repeat on standard event
  • flowable:counterVariable - Counter variable
  • flowable:maxInstanceCount - Maximum instance count

Milestones

  • flowable:milestoneVariable - Milestone variable

CMMN XML Namespace

This 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>

Development

Prerequisites

  • Node.js 16+
  • npm or yarn

Setup

git clone https://github.com/jylups/flowable-cmmn-moddle.git
cd flowable-cmmn-moddle
npm install

Running Tests

npm test

Linting

npm run lint

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Related Projects

Acknowledgments