Plugin Compatibility

Please note that the code of Tasklist plugins might need to be migrated when updating Camunda BPM to a higher version (e.g. CSS styles).

Tasklist uses the concept of plugins to add own functionality without having to extend or hack the Tasklist web application.

For further details about the concepts behind plugins, please read the Cockpit plugins section.

Difference between Cockpit and Tasklist plugins:

  • To publish the plugin with Tasklist, its class name must be put into a file called org.camunda.bpm.tasklist.plugin.spi.TasklistPlugin that resides in the directory META-INF/services.
  • The plugin mechanism of Tasklist does not allow to provide additional SQL queries by using MyBatis mappings.

Plugin Points

Here you can see the various points at which you are able to add your own plugins.

Name: tasklist.navbar.action.

Plugins - 图1


Name: tasklist.task.action.

Plugins - 图2


Name: tasklist.header.

Plugins - 图3


Name: tasklist.task.detail.

Plugins - 图4


Name: tasklist.list.

Plugins - 图5


Name: tasklist.card.

Plugins - 图6


Configure where to place your plugin as shown in the following example:

  1. var ViewConfig = [ 'ViewsProvider', function(ViewsProvider) {
  2. ViewsProvider.registerDefaultView('tasklist.task.detail', {
  3. id: 'sub-tasks',
  4. priority: 20,
  5. label: 'Sub Tasks'
  6. });
  7. }];

For more information on creating and configuring your own plugin, please have a look at the following examples:

原文: https://docs.camunda.org/manual/7.9/webapps/tasklist/tasklist-plugins/