Workflow guide

JBoss jBPM is a flexible, extensible framework for process languages. jPDL is one process language that is build on top of that common framework. It is an intuitive process language to express business processes graphically in terms of tasks, wait states for asynchronous communication, timers, automated actions,... To bind these operations together, jPDL has the most powerful and extensible control flow mechanism.

jPDL has minimal dependencies and can be used as easy as using a java library. But it can also be used in environments where extreme throughput is crucial by deploying it on a J2EE clustered application server. jPDL can be configured with any database and it can be deployed on any application server.

The core workflow and BPM functionality is packaged as a simple java library. This library includes a service to manage and execute processes in the jPDL database.

How to use this guide:

  • The next guide provides samples that may be applied in 7.1.x, 6.4.x, and 6.3.10 CE.
  • In most cases, the samples can be used without any kind of changes. Because there are relevant changes from version 7.1.x consider maybe it is necessary to apply small changes to get running there. Read section below where trying to explain what are these changes

Relevant changes from version 7.1.x:

  • jBPM engine is provided as a standalone application outside the OpenKM core called jBPM Console.
  • Because the workflow engine is outside OpenKM, can't use OpenKM core API in the workflow. You must use SDK for Java its purpose.
  • jBPM Console already includes SDK for Java library.
  • To register a new workflow follow the next steps:
    • Create .par file from Eclipse IDE
    • Register the .par file in the jbpm-console administration tool.
    • Enable the workflow from the workflow tenant in the OpenKM Administration > tools >  Workflow tenant.
    • Enable the workflow in the profile of the user.

Some sections about Workflows that you should read:

OpenKM versionSectionDescription

7.1.x

 

Workflow tenant 

Enable workflows by tenant.

Workflow forms definition 

Workflow forms definition.

Workflow configuration parameters 

Workflow engine is not enabled by default. Check configuration parameter workflow.adapter to enable it.

6.4.x

 

 

Workflow

Workflow administration.

Workflow forms definition 

Workflow forms definition.

Workflow configuration parameters 

Workflow engine is not enabled by default. Check configuration parameter workflow.adapter to enable it.

6.3.x
  

Workflow 

Workflow administration.

Workflow forms definition

Workflow forms definition.

Workflow configuration parameters 

Workflow engine is not enabled by default. Check configuration parameter workflow.adapter to enable it.

 

Here you have some links with documentation and tutorials:

Also there are some interesting books: