Blog Posts BPMN DMN

a DMN FEEL handbook

Blog: Drools & jBPM Blog

a DMN FEEL handbook “promotion” video 🙂

We’re introducing an (experimental) DMN FEEL handbook, an helpful companion for your DMN modeling activities!

You can access this new helpful resource at the following URL:

Key features include:

…and many more!

Implementation details

For the technically curious, this section will highlight some of the technical implementation choices for the realisation of this handbook.

If you want to just use this handbook, you are free to skip this section! 🙂

The framework used to render this handbook is called Slate; it’s very convenient to use it when, in general, you want a neat API documented with use-cases and examples. This makes it a perfect framework candidate to build a technical manual of a very specific aspect –the FEEL expression language of DMN. Naturally we’re keeping Antora for the general documentation of Drools, which is more powerful for the user-manuals and modularising content.

Then, in order to CI the FEEL snippets and examples in the handbook, we’re leveraging the awesome JBang! As you can see in the Java_script source (here) we’re parsing the content of the Markdown file to search for codeblocks related to FEEL. Each codeblock related to FEEL is then evaluated, to make sure it does not error or misbehave.

This allowed us to catch small typos, such as this one which we corrected in the main docs. I got the inspiration to implement this approach by reading the Rust manual. If you are familiar with that book, you will likely recognise where Ferris inspired me :).

Finally, we integrated the JBang! tests with CI with a simple GitHub Action, and then we serve the content via GitHub Pages.


Don’t forget to checkout this DMN FEEL handbook today!

Do you like it? Feedback? Let us know!

The post a DMN FEEL handbook 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="" 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