Questions tagged [decision-model-notation]

Questions related to DMN standard published by the Object Management Group should be marked with this tag, to help identify questions related to DMN model (format), DMN modeling, DMN evaluation with execution engines provided by Vendors, and assimilated.

Questions related to DMN model, DMN modeling, DMN evaluation engines provided by Vendors and any other questions related to DMN should have this tag

DMN is a standard published by the Object Management Group.

DMN is a modeling language and notation for the precise specification of business decisions and business rules. DMN is easily readable by the different types of people involved in decision management. These include: business people who specify the rules and monitor their application; business analysts.

DMN is designed to work alongside BPMN and/or CMMN, providing a mechanism to model the decision-making associated with processes and cases. While BPMN, CMMN and DMN can be used independently, they were carefully designed to be complementary. Indeed, many organizations require a combination of process models for their prescriptive workflows, case models for their reactive activities, and decision models for their more complex, multi-criteria business rules. Those organizations will benefit from using the three standards in combination, selecting which one is most appropriate to each type of activity modeling. This is why BPMN, CMMN and DMN really constitute the “triple crown” of process improvement standards.

To learn more:

14 questions
8
votes
1 answer

Drools with DMN vs DRL

Drools now has complete runtime support for DMN (Decision Model and Notation). DMN files are now an asset that can be added to any kjar for execution. My thinking here is that Drools Rule is a non standard/proprietary where as DMN is open but newer…
Robbo_UK
  • 11,351
  • 25
  • 81
  • 117
2
votes
1 answer

Business Central call a DMN file from another DMN

I am using RedHat Business Central and trying to call one DMN file from another. Use case - if salary > 40000 then calculate Tax from firstdmn else from seconddmn. I have added a context and literal expression in the Tax DMN decision and included a…
Avijit
  • 1,770
  • 5
  • 16
  • 34
1
vote
1 answer

Drools: Evaluation of DMN 1.2 FEEL-functions does not work

I want to evaluate in Drools 7.21 FEEL-funtions that are new in DMN 1.2, like sqrt() or modulo(), but the method dmnRuntime.evaluateAll(dmnModel,context) is allways returning the value 'null' (just for the new functions) with status 'SUCCESS'.…
0
votes
1 answer

How to find the VSCode error when reading DMN file

I am using VSCode to design DMN files. Sometimes when I try to read a file, it simply displays the message: Editor content has not been set. Something went wrong. An attempt has been made to view the editor before content is set. Is there any way…
AgilePro
  • 5,588
  • 4
  • 33
  • 56
0
votes
1 answer

How to find DecisionTable by name from a drools DMNModel object

I am using RedHat drools DMN capability. I have set up a 'DMNRuntimeEventListener' in order to collect information about the decision table that has just run. In that event listener there is a callback method afterEvaluateDecisionTable which is…
AgilePro
  • 5,588
  • 4
  • 33
  • 56
0
votes
1 answer

Element wise multiplication of decision variable array and list of integers in python RSOME

I have a decision variable array and I want to multiply each decision variable with a different integer of a list Here is an example: #Import libraries from rsome import ro m=3 a = [0.10,0.1,1] b = [0.13,0.1,0.3] #create a model object model =…
0
votes
1 answer
0
votes
1 answer

FEEL Grammar: How to refer to context entries specified by a string literal grammar rule?

A context entry & key are defined by the following grammar (cf DMN v1.2, page 111, Section 10.3.1.2) 60. context entry = key , ":", expression; 61. key = name | string literal; Consider the following instance of a context object { "12" : "hello"…
deostroll
  • 11,661
  • 21
  • 90
  • 161
0
votes
1 answer
0
votes
1 answer

How to use hit policy in decision table in Drools

I am using drools decision table to create rules. In the xls file, there are multiple rules to modify the amount of a product by adding eligible tax for a given fact and in that I have to choose only one which return the minimum order amount. In the…
0
votes
1 answer

Creating decision tables in Red Hat Decision Central not reflecting complex types / structures

I have a DMN decision created in Decision Manager 7.3. I have a few data types created, all of which are "structures" (i.e. complex types) with nested fields. I have created a decision table of which the condition column is bound to one of these…
0
votes
1 answer

How to validate multiple rule inputs in DMN camunda

Assume that I have two inputs (input1, input2), I can define DMN rule condition as follows: input1 > 10 or input2 <= 10. However, I would like to define a condition with multiple inputs: input1 + input2 > 10 How can I do this using DMN?
Mike Zhou
  • 15
  • 4
-2
votes
1 answer

Location of DMN FEEL Grammar

I am looking for formal DMN FEEL grammar (g4 file) to generate ANTLR4 based parser out of it. I am not able to find the grammar file. Can you please provide where it can be found?
Kumar
  • 1,536
  • 2
  • 23
  • 33
-3
votes
1 answer

how to translate contrants "drools" into "dmn" (Decision Model and Notation)

rule "room conflict" when Lesson($id : id, $timeslot : timeslot , $room : room) Lesson(id != $id, timeslot == $timeslot , room == $room) then scoreHolder.addHardConstraintMatch(kcontext, -1); end
Samir Aydi
  • 17
  • 2