Quantcast
Channel: BPMN 2.0 / Flowable
Viewing all 55 articles
Browse latest View live

Activiti in the cloud with agito


Activiti 5.14 released

$
0
0
Today, we have released Activiti 5.14. This version is a bug fix and minor improvement release mostly. it includes the following highlights:
  • Improved process and task query support
  • Add OSGi bundle headers to all Activiti module JARs
We received a large number of pull requests from the community for this release, which is really great. Pull requests make it really easy for us to add bug fixes and new functionality to the master Github repository. We want to thank the following people especially for their pull requests for this release: Martin GrofcikMike Dias and Saeid Mirzaei.

So please go ahead and download the latest and greatest of Activiti!

Activiti in Maven central

$
0
0
Today we have published the 5.14 release of Activiti to Maven central. This means that you don't need to configure the Alfresco Maven repository anymore in your pom.xml and can just fetch all Activiti JARs from Maven central. Hope this helps to make it even easier to add Activiti to your project. Thanks to Sonatype for helping to get the Activiti artifacts published!

Activiti first journey article

Activiti Designer 5.14.0 released

$
0
0
With a bit more delay than we desired, the Activiti Designer 5.14.0 version is released and available for use starting from today. This release contains 3 major features:

  1. Kepler and Juno support. We moved to Graphiti 0.10.1 and this means the supported Eclipse versions for the Activiti Designer plugin are now Juno and Kepler.
  2. A lot of bug fixes. It's been too long since we released the Designer 5.12.0, so this release includes a lot of bug fixes. Mostly the overall stability of the BPMN editor has improved. This version also includes improved BPMN visual support, with icon indicators for multi instance activities and dotted lines for boundary events that are non interrupting. 
  3. A new component is introduced with Kickstart. Kickstart includes a simplified process editor and a form editor. The simplified editor helps to create BPMN processes without needing to know all the BPMN specification details. A JSON format is created from the simplified editor and from there Kickstart can generate a BPMN 2.0 XML process definition. In addition, Kickstart includes a form editor that allows you to create task forms with a DnD editor. At this moment, Kickstart is mainly targeted for the Alfresco platform, but the foundation of the plugin is designed to be used for plain Activiti process design. So in a new release, plain Activiti support might also get included, let us know if you are interested in that.

An example of a process definition using the improved multi instance and boundary event visuals is shown in the following screenshot.
We'll post a separate blog about the Kickstart component details, but here are already a couple of screenshots.

As you can see the modeling elements are fully different from a typical BPMN editor. This process definition describes a hiring process and eventually translates to the following BPMN process definition.


And finally a screenshot of the form editor.


With a column based layout a number of field controls can be used to create a task form that is connected to a human step / user task.

We look forward to hear feedback from you about this release!

Update site: http://www.activiti.org/designer/update
Archive: http://www.activiti.org/designer/archived/activiti-designer-5.14.0.zip

Activiti Designer 5.14.1

$
0
0
Hi all,

We released a new version of the Activiti Designer Eclipse plugin (5.14.1). This release is a bug fix version, which solves the issues with form properties, task listeners and element id changes. The release is available on the following URLs (as always):

http://www.activiti.org/designer/archived/activiti-designer-5.14.1.zip (archived site)
http://www.activiti.org/designer/update (update site)

Note that the 5.14.1 release also includes improvements to the BPMN DI label positioning information. This however has a side-effect that diagrams already including labels could need some label repositioning. But the label positioning should now be compliant with the BPMN specification.

Have a good weekend!

Activiti 5.15 released

$
0
0
Today we released a new version of Activiti 5.15 packed with new functionality and features. And of course it also includes bug fixes. The highlights of this release are:

  • Multi tenancy support added to Activiti, including the Java and REST API.
  • Added new event support to listen for events in the Activiti Engine, like task deleted, variable updated, process engine created and many more.
  • Introduction of data object support (thanks to Lori Small and team)
  • Improved Spring support with great and easy to use annotations (thanks to Josh Long)
  • Improved OSGi support + added OSGi unit testing using Tinybundles
  • Various fixes and improvements
A note for MySQL users. For MySQL 5.6 we improved the time precision for create and update dates. For MySQL 5.5 and lower this is not supported so we provided an additional upgrade script for MySQL 5.5 and lower. When you let the Activiti Engine apply the upgrade (with databaseSchemaUpdate=true), the correct upgrade script will be applied automatically.

We'll do additional detailed blog posts in the coming weeks to explain new functionality and features in more detail. We hope you'll the new release.

The Activiti team

Activiti 5.15.1 released

$
0
0
Today we released Activiti 5.15.1, which is a bug fix release for a MySQL upgrade issue described on the Activiti forum. In addition we refactored the Activiti version upgrade logic so that you can install Activiti 5.15.1 without problems on an Activiti 5.15 database (and earlier versions of course).

Thanks for testing Activiti 5.15 on the day it was released. Sorry for any inconvenience this caused.

Activiti 5.x BPM Beginner's Guide book

$
0
0
I've been offered a copy of the new Activiti 5.x BPM Beginner's Guide book by Packt publishing and wanted to share my reading experiences with you.

First a little step back. It's great to see a second book about Activiti getting published. My Activiti in Action book has been out there for a couple of years, and I really appreciate the effort that Zakir and Irshad and Packt publishing put into this new Activiti book. This should improve the possibility for Activiti users and community members to learn about Activiti in an alternative way than our user guide and articles and presentations that are available on the Internet.

The book is really meant for users wanting to learn about Activiti without too much background knowledge about it. It takes readers by the hand and explains BPMN, the Activiti Engine and the other components of the Activiti project in simple steps with lots of screenshots and code examples to make it easy to understand. After reading the book you'll know about the major components of the Activiti project and the Designer and Modeler to create BPMN process definitions. It also gives an introduction how to integrate Activiti with for example the Liferay portal and the Karaf OSGi container. So it's a good read for people that want to learn Activiti from scratch.

I also have to share some remarks / thoughts I had while reading the book. I'd hoped the book would cover the most recent version of Activiti, but it's working with 5.13. Fair enough. The code examples look a bit messy, but that might be my opinion only. A last remark I have is that it doesn't go beyond the beginner's level, so you shouldn't expect in-depth discussions or going beyond the basics of Activiti.

In summary, I'm glad to see a second Activiti book getting published. It shows the global reach of the Activiti project and the large community it has. It's a good book to read for people that are eager to learn the first steps of using Activiti and understanding the basics.

Alfresco Activiti Enterprise offering

$
0
0
We are very happy to announce the availability of the Alfresco Activiti Enterprise offering. This means that a fully supported version of Activiti is available starting today. The package includes the Activiti Engine and REST web application of course, but also includes a fully new Administration application and a web-based modeling tool.

Let's start with the web-based modeling tool. You can browse to https://activiti.alfresco.com and create a trial account there. When you login to the modeling tool you'll get an overview of your model repository (which is empty at first of course).

In the repository view, you can easily browse your models, search for specific ones, and look at models you shared with others or others shared with you. It's also possible to import an existing BPMN XML definition into the repository if you have an enterprise account.

From the repository view you can directly go into the editor and start with BPMN modeling.


The editor provides a palette of BPMN elements on the left side, the property view at the bottom, the toolbar at the top and the canvas in the middle of the screen. When you click on one of the BPMN elements you'll get a quick edit menu to be able to add new BPMN elements in a convenient way and to transform or delete the selected BPMN element.

Another nice feature of the Activiti Editor is the availability of validation of the process definition via the second button from the left in the toolbar, the "V" button.


The BPMN elements that have validation errors are highlighted in red and the validation errors can be viewed by clicking on the error icon at the top of the BPMN element. This opens a popup showing the validation messages.

In this case the user task doesn't have any assignment defined yet.

The Activiti Editor provides a lightweight and easy to use BPMN modeler and you can get started with this tool by signing up on the https://activiti.alfresco.com website.

The other new component in the package is the Activiti Admin application. A trial can be requested by filling in this form https://www.alfresco.com/products/activiti/trial. The Admin application provides functionality to browse through the Activiti Engine and query for specific process definitions, instances, tasks and jobs. For each entity a clear overview is provided including process variables, historic information etc.



In addition to the query and entity management capabilities, the Admin application provides an easy to use cluster configuration. For failover and performance reasons, it's often better to have at least 2 Activiti Engine instances on the same database. The Admin application makes it really easy to setup such a cluster of 2 or more Activiti Engines. When a cluster is running the Admin application provides Engine information, like number of process instances executed and the number of jobs in the queue, in addition to JVM information.


To be clear, this Enterprise offering will not change anything for the Activiti open source project. the Activiti Engine will remain fully open source. This new Enterprise offering will provide additional tools and applications around the Activiti Engine and it will provide a supported version for companies that are looking for support.

For more information about the Enterprise offering you can look at this web page http://www.alfresco.com/products/activiti

Custom palette available in the Alfresco Activiti Editor

$
0
0
We are working hard to add more and more functionality to our Activiti Enterprise offering in addition to our ongoing efforts in the Activiti open source project. Today I'm happy to announce that we added a feature to the Alfresco Activiti Editor to customize the palette of elements with which you can model your process definitions. This feature is named stencils and is available to Enterprise account users directly.

You can add as many stencils you want and each stencil defines the elements you can model with in the palette you see on the left-hand side when modeling a process definition. Per element you can also define which attributes or properties should be made available to the model user. Let's look at an example of a stencil.


In this every simple example, we have reduced the number of BPMN elements quite a bit. Only a start event, some activities, gateways, connection objects and an end event are remaining. That's nice for some use cases, but it becomes a lot more useful when you can add your own elements as well. So let's a new element to our custom stencil.


In this example we are adding a Validate order element to our custom stencil and we can define if it needs to be generated as a Java service task, an expression or a delegate expression. In this example we define it as a Java service task that executes the org.activiti.task.ValidateOrderTask class. In addition to the name, description and group you can also choose an icon for the custom element (which is shown in the palette and the canvas element) and choose a color for the canvas element. So in addition to the common BPMN elements, we now have a custom element Validate order that we can use in a process definition.

In addition to the basic element definition it's also possible to add custom attributes or properties to an element as well. For each attribute you can choose if it needs to be generated as part of the BPMN XML as a field extension or if it's just meta data that doesn't need to be in the BPMN XML. Let's add a validation identifier property so the validate order task can be instructed to use a specific validation method.


You can define the name, id, description and property type when creating a new property. When you want to include the property in the BPMN XML as a field extension as well, you can define the field extension name as well.

When you are ready with the stencil definition it can be saved and you start creating process definitions directly with this new stencil. In the create process popup you will get an additional dropdown where you can choose the stencil you want to model with. This can be default BPMN, but also a stencil from the stencil editor.


It will come as no surprise that the process editor will now show the palette according to the newly defined stencil. And when adding the validate order element to the canvas you'll see it uses the icon and the element color we've chosen in the stencil editor.


This opens up a lot of possibilities to make process modeling easier for model users. And it's directly integrated in the BPMN XML generation and can be deployed on the Activiti Engine. Stencils can be shared across model users in an easy way and versioning is applied automatically. When needed, you can go back to an earlier version of your stencil by choosing the specific version from the stencil history.

We'll be interested to get any feedback on this new feature. If you want to experiment with this new feature let me know and we can get in contact to upgrade your trial account to an enterprise account.

Activiti Designer 5.15.0 released

$
0
0
Hi all,

We released a new version of the Activiti Designer Eclipse plugin (5.15.0). This release is a bug fix version and is available on the following URLs (as always):

http://www.activiti.org/designer/archived/activiti-designer-5.15.0.zip (archived site)
http://www.activiti.org/designer/update (update site)

Note that the 5.15.0 release includes improvements to data object support and usability in general. It also allows you to connect to the Alfresco Activiti Editor and download and upload models from and to the Editor cloud repository.

Hope you'll enjoy this new release.

Activiti 5.16 feature preview - async parallel/inclusive gateways

$
0
0
This article will go into details about one of the new features of the upcoming Activiti 5.16 release, parallel behaviour. In 2012 I've written a blog post about this and still a lot of people refer to it in forum posts or emails. This blog post describes how to solve possible optimistic locking exceptions when working with parallel and inclusive gateways in Activiti, using Apache Camel.

It's not really elegant to force using another framework to solve a potential issue with process execution, even if it's a great framework like Apache Camel. That's why we've implemented an easier solution in Activiti, that will be part of version 5.16. Let's describe the potential issue shortly, before showing the new feature/solution.

When you have two long running tasks you want to run in parallel, Activiti provides asynchronous service tasks to make this possible. With the default synchronous service tasks, Activiti would wait until task 1 is completed and then execute task 2. By making the service tasks asynchronous both tasks can be executed in parallel. The optimistic locking issue will appear when task 1 and 2 are completed at almost the same time. Both tasks will enter the second parallel join gateway and will try to update the current execution. Only 1 task will be successful in performing this action and the second task will get a optimistic locking exception.

With Activiti 5.16 it will be possible to make the second parallel join gateway (and also an inclusive gateway if you're using that gateway type) asynchronous as well. When you define the parallel gateway as an asynchronous and exclusive gateway no optimistic locking exception will occur anymore.


<parallelGateway id="gateway2" activiti:async="true"      
    activiti:exclusive="true" />

So it's really simple now to deal with these kind of parallel behaviour issues and no Apache Camel route is needed anymore to solve it. 

More good stuff is coming in Activiti 5.16. We expect to release it next week.

Activiti 5.16 released

$
0
0
I'm happy to announce the immediate availability of Activiti 5.16. This release contains the following highlights:
  • Added Spring boot support and more Spring annotation support in general (thanks to Josh Long)
  • Refactoring of the job executor to simplify its logic and prevent possible long wait times.
  • Added new event log table that stores process engine events when wanted, by default this is switched off.
  • Introduced asynchronous parallel and inclusive gateways to prevent optimistic locking exceptions (http://bpmn20inaction.blogspot.nl/2014/07/activiti-516-feature-preview.html)
  • Introduction of Crystalball, which is an experimental new project that allows you to replay and simulate process instances (Thanks to Martin)
  • Upgraded to Spring 4.x and Restlet 2.2.x
  • Various fixes and improvements
Thanks to community members Martin Grofcik, Henry Yan and Lori Small for their contributions to the Activiti project in the last months. Enjoy the new release!

Activiti 5.16.1 released

$
0
0
Today we released Activiti 5.16.1. This is mainly a bug fix release for Activiti 5.16 and doesn't include any database changes other than the usual version update in the property table.

Although it's a bug fix release, we've added a nice new query capability for process instances and tasks, an OR statement. Now you can query for process instances and tasks using one chain of OR statements using our query API. It can be used like this:

runtimeService.createProcessInstanceQuery()
     .or().processDefinitionKey("test").processDefinitionName("Test").endOr().list();

But you can of course also mix with AND statements like:

taskService.createTaskQuery().taskNameLike('%Test%')
     .or().taskOwner('kermit').taskAssignee('kermit').endOr().list();

This will result in a query like:

WHERE task.name like '%Test%' AND (task.owner = 'kermit' OR task.assignee = 'kermit')

Current limitations of the or construct are:
  1. You can use only one chain of OR statements right now. So you can't use the or and endOr methods more than once.
  2. You can use a specific field only once in an OR statement, so you can't use processDefinitionId twice in an OR statement for example. Only the second value will be used in that case.

We welcome any feedback and suggestions on this new query API option. If we get positive feedback, it will be added to more query APIs for the next release. Enjoy!

Activiti 5.16.4 released

$
0
0
We've released Activiti 5.16.4 and that includes bug fixes, but also 2 bigger features.

We've introduced a new lock free job executor that improves the scalability of the job execution with magnitudes. You can read more about the new job executor here https://github.com/Activiti/Activiti/wiki/Notes-on-the-new-Actviti-Jobexecutor-(Oct-2014).
Note that the default job executor is still the old job executor, so you need to explicitly enable it before it will be used. The new job executor only supports non-exclusive jobs right now. Exclusive job and suspended process instance support will be added in the next Activiti release.

Another change is the move from the Restlet framework to the Spring MVC framework for the REST services implementation. The REST API urls haven't changed though, so all REST clients should still be working ok. We did remove the deprecated legacy REST services though. Let us know if you run into issues due to this removal, but all data should be available through the other REST services. A benefit of moving to Spring MVC is the integration with Spring Security, so it's easier to configure authentication. Also, we'll be introducing an Activiti Spring boot module in the next Activiti release, which makes it easy to add Activiti to a Spring boot application. You can already see more info here http://www.jorambarrez.be/blog/2014/09/29/webinar-on-youtube/ .

You can get the new release via Maven central, the download page on the Activiti website, and our Activiti Github repository. Enjoy!

Activiti 5.17.0 released

$
0
0
I'm happy to announce the immediate availability of Activiti 5.17.0. This release contains the following highlights:
  • We introduced a fully tested and brand new Async executor, which supersedes the old Job executor. The new Async executor uses less database queries to execute asynchronous jobs and is more performant in general. By default the Activiti Engine still uses the old Job executor, so you have to explicitly choose for the new Async executor by setting the asyncExecutorEnabled property in the process engine configuration.For more details you can look at the advanced section of the user guide.
  • The Activiti Modeler is fully revised and is implemented using Angular JS. This is donated from the Alfresco Activiti BPMN editor that's part of the Alfresco Activiti Enterprise offering. The new Angular JS Activiti Modeler is LGPL licensed.  Note that some dialogs are not yet ported to the new Activiti Modeler, but you'll also find quite a bit of new functionality, including Mule and Camel tasks and being able to define a sequence flow order for an exclusive gateway. Any help with adding new features is really appreciated.
  • The user guide has been revamped with a rewrite to AsciiDoc
  • It's now possible to start a process instance a skip tasks based on a skipExpression. This is very handy when you are migrating process instances to the Activiti Engine (thanks to Robert Hafner for the pull request).
  • We added a new module named activiti-jmx to the Activiti project, which enables JMX for the Activiti Engine. Read Saeids blog for more details (thanks Saeid).
  • Variable fetching has been optimized for process instances and executions in general.</li>
  • The database upgrade scripts use a different minor version than the JAR version. With the 5.17.0 release, the database version is 5.17.0.2. This versioning enables us to release snapshots and still be able to upgrade from a snapshot release to a stable release. For a 5.17.1 release the database version will be 5.17.1.x where x can be any number. So only the last minor version number can differ from the Activiti Engine release version.</li>

Thanks to all community members for their contributions to the Activiti project in the last months, and especially Robert Hafner and Saeid Mirzaei. Enjoy the new release!

Activiti JIRA moved to Atlassian Cloud

$
0
0
As you might have seen, Codehaus is shutting down. Since we heard about this we have been looking for the best alternative solution for the Activiti issues. Because we wanted to keep the existing issues as much as possible, an hosted JIRA solution made the most sense. Atlassian is offering a free hosted JIRA instance for open source projects and we are grateful that our application for an Activiti JIRA instance got approved.

Since export options are limited on Codehaus we are not able to migrate all data associated with each issue. For example, attachments and comments are not exported. If you could help us to add attachments and important comments back again that would be a great help.

You can find our new JIRA system on https://activiti.atlassian.net. You need to create a new account before you can access the Activiti JIRA. All issues should still have the same key so it should be easy to find your old issues again. Reporter information has been migrated to the new JIRA, but only as reference information and therefore it won't be coupled to your account by default.

Performing such a migration always means we lose some information and it's a painful process for every user involved. But sadly we didn't have much choice. I hope everyone will create a new user account and will help us to get important issues updated with the correct information as much as possible.

Activiti 5.18.0 released

$
0
0
Today we have released Activiti 5.18.0! We are really happy to provide the new bulk insert and other improvements to the Activiti Engine starting from today. 

This release took a bit longer than expected because we have been working on Activiti 6 in parallel. We announced Activiti 6 on our well attended Paris community event. We expect to ship an alpha release of Activiti 6 at the end of August.

You can also expect a new release of our Activiti Designer in the next couple of weeks. 

So what's new in Activiti 5.18.0?



  • We enhanced the OR query support, it's now possible to use multiple OR parts in one query
  • Improvements to the async executor we introduced in Activiti 5.17.0. There were some cases that could result in deadlock exceptions and that's resolved in this version.
  • Improvements to the Activiti Modeler with terminate end events, cancel event and transaction support, and more intermediate catch and throw event support. Also, improvements to interrupting and non-interrupting solid and dashed line for boundary events.
  • Upgraded Spring dependency version to 4.1. Activiti is still working with Spring 4.0.x and 3.x as well.
  • Various bug fixes
For more information you can read the release notes.

Enjoy the release.


Activiti Designer 5.18.0 released

$
0
0
Today we released Activiti Designer 5.18.0. This release contains the following highlights:
  • Updates to BPMN palette with support for compensation and cancel events and transaction sub processes. We also added missing signal and message event elements.
  • The Activiti Designer now supports Eclipse Kepler and Luna. Let us know if you want us to support Eclipse Luna and Mars instead.
  • Better handling of pools and lanes and sub processes with move and resizing. Bendpoints are moved on resize and move of containers as well.
  • Messages and signals are now defined on process root level and can be selected for message and signal events.
  • Internationalisation support for element labels. You can define multiple languages in the Eclipse preferences and label fields will be made available for each language.
  • Lots of bug fixes.
This release has been long overdue and we'll make sure to keep updates coming on a lot faster schedule starting from this release. Help in raising bugs, thinking of feature requests and of course pull request are very welcome.

Viewing all 55 articles
Browse latest View live