See Workflow on how to configure and use workflow.

Magnolia ships with a "four-eye" content approval workflow. Workflow is configured in the Workflow and Workflow jBPM modules. The workflow engine is based on the JBPM Business Process Management (BPM) Suite.

Modules

Magnolia's workflow implementation consists of four modules:

  • Workflow: An engine-agnostic integration module. Enables the necessary integration points for Magnolia to communicate with a workflow engine.
  • Workflow jBPM: Magnolias jBPM integration module. Takes care of loading BPMN process definitions and workitem handlers. Implements the concepts of RuntimeManager and RuntimeEnvironment from jBPM 6.
  • Drools JCR persistence: Used for persisting work items and sessions to JCR.
  • jBPM JCR persistence: Used for persisting processes to JCR.

The Kie modules are heavily inspired by jBPMs own JPA implementation.

Installing

Maven is the easiest way to install the modules. Add the following dependencies to your bundle:

<dependency>
  <groupId>info.magnolia.workflow</groupId>
  <artifactId>magnolia-module-workflow</artifactId>
  <version>5.6.6</version>
</dependency>

<dependency>
  <groupId>info.magnolia.workflow</groupId>
  <artifactId>magnolia-module-workflow-jbpm</artifactId>
  <version>5.6.6</version>
</dependency>

<dependency>
  <groupId>info.magnolia.workflow</groupId>
  <artifactId>drools-jcr-persistence</artifactId>
  <version>5.6.6</version>
</dependency>

<dependency>
  <groupId>info.magnolia.workflow</groupId>
  <artifactId>jbpm-jcr-persistence</artifactId>
  <version>5.6.6</version>
</dependency>

Pre-built jars are also available for download. See Installing a module for help.

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))