Blog Posts BPMN DMN

Better reusability features on BPMN data types

Blog: Drools & jBPM Blog

The latest addition to our Process Designer is a great feature that enhances the work with formulary data types. We added the ability to define the data type once and use it wherever the data type is needed to be used, as in Process Imports, Process Variables, Global Variables, DataObjects nodes, Multiple Instance Sub-processes and Data Assignments of activities

Before this change, users needed to enter it manually in every place in the process designer. Now users can add it anywhere in the Process Designer. Once the data type is defined, if users  want to use it again, they can do so using the dropdowns of each Process Designer widget that allows selection of data type.

Data types that are already existing in the process are also offered for selection when modelling or editing the process.

For instance, let’s say you want a data object named DataObject of the type com.miType.DataObject, you would enter it as follows:

Now, the data object’s data type is available to be selected in the Process Variables section.

It will also be available in other places where users are able to select data type for variables, assignments etc.

In process variables, you can use the dropdown list box widget to select the already defined Data Type

In Global variables, you can use the dropdown list box widget to declare a default type, custom type, or already defined Data Type

In Imports, you can use the dropdown list box widget to declare a default type, custom type, or already defined Data Type

In Multiple Instances, you can use the dropdown list box widget to declare a default type, custom type, or already defined Data Type

Data Assignments Input

Data Assignments Output

How the service works

The service is composed of Server Side and Client Side components. 

The server-side checks for any predefined Data Objects as Assets in the process while the client-side caches in all defined Data Types within the Diagram.

In BC, both the server and the client-side work hand in hand, while the Kogito(VSCode extension) build has only the client-side.

Regardless of Whether you use it in Business Central or VS Code extension, this feature will surely shorten your Diagram Design Time.

The post Better reusability features on BPMN data types appeared first on KIE Community.

Leave a Comment

Get the BPI Web Feed

Using the HTML code below, you can display this Business Process Incubator page content with the current filter and sorting inside your web site for FREE.

Copy/Paste this code in your website html code:

<iframe src="https://www.businessprocessincubator.com/content/better-reusability-features-on-bpmn-data-types/?feed=html" frameborder="0" scrolling="auto" width="100%" height="700">

Customizing your BPI Web Feed

You can click on the Get the BPI Web Feed link on any of our page to create the best possible feed for your site. Here are a few tips to customize your BPI Web Feed.

Customizing the Content Filter
On any page, you can add filter criteria using the MORE FILTERS interface:

Customizing the Content Filter

Customizing the Content Sorting
Clicking on the sorting options will also change the way your BPI Web Feed will be ordered on your site:

Get the BPI Web Feed

Some integration examples

BPMN.org

XPDL.org

×