How to use the class DecisionTableImpl from kie-feel-dmn?

273 views Asked by At

Is there a way to use the class "org.kie.dmn.feel.runtime.decisiontables.DecisionTableImpl" without using the entire library set? I would like to load the rules using my database, due to some security policy restrictions.

1

There are 1 answers

4
tarilabs On

Please do not use internal implementation classes directly, as that is not a supported solution.

You could consider generating from the DB table the DMN interchange file (.xml) directly accordingly to your needs. We had some other users in the past which adopted a similar strategy. As the DMN is an open-standard, you can transform your source-of-knowledge into the DMN model, and then use the Drools DMN Engine to evaluate the DMN model itself.

Naturally, this is a less-than-ideal solution, since the whole purpose of describing the DMN model with an editor is to use the visual notation of the standard, which are more easily consumable by Business Analyst and Stakeholder, than some db tables.