[DMN pro-tip] BKM nodes

I’ve been working a lot in a new project: learn-dmn-in-15-minutes.com :-) It’s a work in progress, but it’s getting an excellent shape!

The idea is to cover every primary aspect of the DMN into this quick-but-complete course. While it’s not completely done, you can check here some pro-tips.

Generally, I tend to create my DMN models by using only Decision nodes, Input nodes, and FEEL expressions. However, some time we want to invoke something more complex, like Java code, and you can do that with DMN!

See how simple it is:

1) Create a Business Knowledge Model (BKM) node: Step 1

2) Add some decision logic to specify the method you want to invoke from the Java world (Notice: you can only call static methods): Step 2

3) Create a decision node with an input node: Step 3

4) Call your BKM there: Step 4

5) Let’s see it working: Step 5

Ta-daa! I hope you enjoyed it!

Stay tuned other DMN pro-tips :-)


Wanna talk about this post? @ me on Twitter :-)