jBPM 6.1 comes with a ton of smaller improvements and bug fixes (done over the last few months
on top of 6.0.1.Final), and also includes some important new features, adding to the foundation
delivered as part of jBPM 6.0.
Now is the time to give some of these new features a try and let us know if you find some issues or have some recommendations! 6.1.0.Final will be released in the next couple of weeks.
Download here:
Documentation here:
Getting started? Use jBPM installer:
From the release notes, here's a short overview of some of the changes:
Embedding forms in external applications
Attaching documents to forms
Web Service (SOAP) interface for remote AP
Deployment descriptors
- persistence unit names
- work item handlers
- event listeners (process, agenda, task)
- roles (for authorizarion - see section 1.5)
Deployment descriptors can be configured on various levels for enhanced flexibility to allow simple override functionality. Detailed definition of deployment descriptor can be found in section Deployment descriptors of the documentation.
Role-based authorization at runtime for process definitions and process instances
jBPM installer updates
- Wildfly 8.1 as application server (note that CR1 still uses AS7 by default but more recently dashbuilder has also added support for WildFly so for the Final release we will switch to WildFly by default)
- Eclipse BPMN2 Modeler 1.0.2
- Eclipse Kepler SR2
jBPM Spring integration
- reply on JTA and entity manager factory
- rely on JTA and shared entity manager
- rely on local transactions and entity manager factory
- rely on local transactions and shared entity manager
Details about spring configuration can be found in this article.
Data Modeler - round trip and source code preservation
Full round trip between Data modeler and Java source code is now supported. No matter
where the Java code was generated (e.g. Eclipse, Data modeller), data modeler will only
update the necessary code blocks to maintain the model updated.
Other
- Task service (query) improvements, significantly speeding up queries when you have a large numbers of tasks in the database.
- Various improvements to the asynchronous job executor so it can handle larger loads more easily and can be configured (number of parallel threads executing the jobs, retries, etc.).
- Ability to configure task administrator groups in a UserTask (similar to how you already could configure individual task administrators).
- Removed limitation on custom implementations of work item handler, event listeners that had to be placed on global classpath - usually in jbpm-console.war/WEB-INF/lib. With that custom classes can be added as maven dependencies into the project and will be registered on underlying components (ksession).
Hi kris, is there any migration document from 5.4 to 6.0 or 6.1? I want to remain running task data.
ReplyDeleteThe Task database schema only received small updates, which hibernate should be able to manage automatically when using hbm2ddl set to update. You could also generate update script using hibernate instead.
DeleteAfter upgrading to jbpm 6.1 from 5.4, because the taskname changed to formname, I changed the task name in bpmn definition file, I found the WorkItemNode node id of the task which has been started recently is different from the exist task, so it can't find WorkItemNode, the old running task can not be continued.
DeleteHow to resolve this problem? What's the rule of WorkItemNode node id generation?
How you can add work item handlers as dependencies? I have them packaged as .jar and registered using WorkItemHandlerProducer. After uploading this .jar as artifact and adding it as dependency for a project, it still cannot find handlers.
ReplyDeleteDepends on how you want to configure them:
Delete(1) global configuration: update jbpm-console.war\WEB-INF\classes\META-INF\CustomWorkItemHandlers.conf and add the required dependencies in jbpm-console.war\WEB-INF\lib
(2) project-specific: in the project editor (or by editing module.xml), add a default stateful session with the work item handler configuration, add the required dependencies as dependencies of your project
(3) using the deployment descriptor, work item handler configuration can also be done at deployment time time
Hi Kris, Does this release fix the problem in 6.0 where you could not view the process (instance) model in KIE? Thanks, David
ReplyDeleteThere were a ton of bug fixes compared to 6.0.1.Final, so it's likely this is already fixed. But I'm not sure I know exactly which issue you are referring to, could you give 6.1 a try and open a JIRA in case you still see issues, or let me know the JIRA number in case you already opened one?
ReplyDelete