Skip to content

Latest commit

 

History

History
 
 

cmmn-listener-extension

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

CMMN Human Task Listener in a Process Engine Plugin

This Process Engine Plugin registers a TaskListener for every Human Task in all cases that are deployed to the engine.

As Human Tasks are handled as User Tasks in processes, you can reuse your existing task listeners.

No need to model this task listener explicitly in every human task any more.

How does it work?

The CmmnTransformerProcessEnginePlugin registers the ExampleCmmnTransformListener, which is the corresponding part to a BpmnParseListener. Here you add your ExampleTaskListener.

When a new case definition is deployed, the listener is added to every human task in the case. You don't need to model them explicitly.

How to use it?

To get started refer to InMemoryH2Test and camunda.cfg.xml.

Run the test and inspect the console output to see the listener working.

For using it in production you have to integrate the plugin into your Camunda BPM configuration.

Environment Restrictions

Built and tested against Camunda BPM version 7.7.0.

This project has been generated by the Maven archetype camunda-archetype-engine-plugin-7.7.0.

License

Apache License, Version 2.0.