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:
2) Add some decision logic to specify the method you want to invoke from the Java world (Notice: you can only call static methods):
3) Create a decision node with an input node:
4) Call your BKM there:
5) Let’s see it working:
Ta-daa! I hope you enjoyed it!
Stay tuned other DMN pro-tips :-)