Skip to content

Commit d5d08d9

Browse files
authored
BXMSDOC-6416-master: Add multi-DRD content to PAM/DM (#2861)
* BXMSDOC-6416-master: Add multi-DRD content for DMN. * Peer review.
1 parent dacf08a commit d5d08d9

23 files changed

+91
-5
lines changed

_images/dmn/dmn-bkm-edit.png

725 Bytes
Loading

_images/dmn/dmn-decision-edit.png

598 Bytes
Loading
13.4 KB
Loading

_images/dmn/dmn-drd-actions.png

7.05 KB
Loading
Loading
95.4 KB
Loading
Loading
95.4 KB
Loading
Loading
95.5 KB
Loading

_images/dmn/dmn-drd-multiple.png

92 KB
Loading

_images/dmn/dmn-include-model-drd.png

625 Bytes
Loading
2.08 KB
Loading

assemblies/assembly-dmn-models.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ifdef::context[:parent-context: {context}]
55
:context: dmn-models
66

77
// Purpose statement for the assembly
8-
As a business analyst or business rules developer, you can use Decision Model and Notation (DMN) to model a decision service graphically in a decision requirements diagram (DRD). This diagram consists of one or more decision requirements graphs (DRGs) that trace business decisions from start to finish, with each decision node using logic defined in DMN boxed expressions such as decision tables.
8+
As a business analyst or business rules developer, you can use Decision Model and Notation (DMN) to model a decision service graphically. The decision requirements of a DMN decision model are determined by a decision requirements graph (DRG) that is depicted in one or more decision requirements diagrams (DRDs). A DRD can represent part or all of the overall DRG for the DMN model. DRDs trace business decisions from start to finish, with each decision node using logic defined in DMN boxed expressions such as decision tables.
99

1010
{PRODUCT} provides design and runtime support for DMN 1.2 models at conformance level 3, and runtime-only support for DMN 1.1 and 1.3 models at conformance level 3. You can design your DMN models directly in {CENTRAL} or import existing DMN models into your {PRODUCT} projects for deployment and execution. DMN 1.1 and 1.3 models are currently not supported in the DMN designer in {CENTRAL}.
1111

@@ -73,6 +73,8 @@ include::{drools-dir}/DMN/dmn-included-models-dmn-proc.adoc[leveloffset=+3]
7373

7474
include::{drools-dir}/DMN/dmn-included-models-pmml-proc.adoc[leveloffset=+3]
7575

76+
include::{drools-dir}/DMN/dmn-model-creating-multiples-proc.adoc[leveloffset=+2]
77+
7678
include::{drools-dir}/DMN/dmn-documentation-con.adoc[leveloffset=+2]
7779

7880
include::{drools-dir}/DMN/dmn-designer-nav-ref.adoc[leveloffset=+2]

doc-content/drools-docs/src/main/asciidoc/DMN-chapter.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ include::DMN/dmn-included-models-dmn-proc.adoc[leveloffset=+3]
5959

6060
include::DMN/dmn-included-models-pmml-proc.adoc[leveloffset=+3]
6161

62+
include::DMN/dmn-model-creating-multiples-proc.adoc[leveloffset=+2]
63+
6264
include::DMN/dmn-documentation-con.adoc[leveloffset=+2]
6365

6466
include::DMN/dmn-designer-nav-ref.adoc[leveloffset=+2]

doc-content/drools-docs/src/main/asciidoc/DMN/dmn-boxed-expressions-con.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[id='dmn-boxed-expressions-con_{context}']
22
= DMN decision logic in boxed expressions
33

4-
Boxed expressions in DMN are tables that you use to define the underlying logic of decision nodes and business knowledge models in a decision requirements diagram (DRD) or decision requirements graph (DRG). Some boxed expressions can contain other boxed expressions, but the top-level boxed expression corresponds to the decision logic of a single DRD artifact. While DRDs with one or more DRGs represent the flow of a DMN decision model, boxed expressions define the actual decision logic of individual nodes. DRDs and boxed expressions together form a complete and functional DMN decision model.
4+
Boxed expressions in DMN are tables that you use to define the underlying logic of decision nodes and business knowledge models in a decision requirements diagram (DRD). Some boxed expressions can contain other boxed expressions, but the top-level boxed expression corresponds to the decision logic of a single DRD artifact. While DRDs represent the flow of a DMN decision model, boxed expressions define the actual decision logic of individual nodes. DRDs and boxed expressions together form a complete and functional DMN decision model.
55

66
The following are the types of DMN boxed expressions:
77

doc-content/drools-docs/src/main/asciidoc/DMN/dmn-drd-components-ref.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[id='dmn-drd-components-ref_{context}']
22
= DMN decision requirements diagram (DRD) components
33

4-
A decision requirements diagram (DRD) is a visual representation of your DMN model. This diagram consists of one or more decision requirements graphs (DRGs) that represent a particular domain of an overall DRD. The DRGs trace business decisions using decision nodes, business knowledge models, sources of business knowledge, input data, and decision services.
4+
A decision requirements diagram (DRD) is a visual representation of your DMN model. A DRD can represent part or all of the overall decision requirements graph (DRG) for the DMN model. DRDs trace business decisions using decision nodes, business knowledge models, sources of business knowledge, input data, and decision services.
55

66
The following table summarizes the components in a DRD:
77

doc-content/drools-docs/src/main/asciidoc/DMN/dmn-logic-defining-proc.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[id='dmn-logic-defining-proc_{context}']
22
= Defining DMN decision logic in boxed expressions in {CENTRAL}
33

4-
Boxed expressions in DMN are tables that you use to define the underlying logic of decision nodes and business knowledge models in a decision requirements diagram (DRD) or decision requirements graph (DRG). Some boxed expressions can contain other boxed expressions, but the top-level boxed expression corresponds to the decision logic of a single DRD artifact. While DRDs with one or more DRGs represent the flow of a DMN decision model, boxed expressions define the actual decision logic of individual nodes. DRDs and boxed expressions together form a complete and functional DMN decision model.
4+
Boxed expressions in DMN are tables that you use to define the underlying logic of decision nodes and business knowledge models in a decision requirements diagram (DRD). Some boxed expressions can contain other boxed expressions, but the top-level boxed expression corresponds to the decision logic of a single DRD artifact. While DRDs represent the flow of a DMN decision model, boxed expressions define the actual decision logic of individual nodes. DRDs and boxed expressions together form a complete and functional DMN decision model.
55

66
You can use the DMN designer in {CENTRAL} to define decision logic for your DRD components using built-in boxed expressions.
77

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
[id='dmn-model-creating-multiples-proc_{context}']
2+
= Creating DMN models with multiple diagrams in {CENTRAL}
3+
4+
For complex DMN models, you can use the DMN designer in {CENTRAL} to design multiple DMN decision requirements diagrams (DRDs) that represent parts of the overall decision requirements graph (DRG) for the DMN decision model. In simple cases, you can use a single DRD to represent all of the overall DRG for the decision model, but in complex cases, a single DRD can become large and difficult to follow. Therefore, to better organize DMN decision models with many decision requirements, you can divide the model into smaller nested DRDs that constitute the larger central DRD representation of the overall DRG.
5+
6+
.Prerequisites
7+
* You understand how to design DRDs in {CENTRAL}. For information about creating DRDs, see xref:dmn-model-creating-proc_dmn-models[].
8+
9+
.Procedure
10+
. In {CENTRAL}, navigate to your DMN project and create or import a DMN file in the project.
11+
. Open the new or imported DMN file to view the DRD in the DMN designer, and begin designing or modifying the DRD using the DMN nodes in the left toolbar.
12+
. For any DMN nodes that you want to define in a separate nested DRD, select the node, click the *DRD Actions* icon, and select from the available options.
13+
+
14+
--
15+
.DRD actions icon for subdividing a DRD
16+
image::dmn/dmn-drd-actions.png[]
17+
18+
The following options are available:
19+
20+
* *Create*: Use this option to create a nested DRD where you can separately define the DMN components and diagram for the selected node.
21+
* *Add to*: If you already created a nested DRD, use this option to add the selected node to an existing DRD.
22+
* *Remove*: If the node that you selected is already within a nested DRD, use this option to remove the node from that nested DRD.
23+
24+
After you create a nested DRD within your DMN decision model, the new DRD opens in a separate DRD canvas and the available DRD and components are listed in the *Decision Navigator* left menu. You can use the *Decision Navigator* menu to rename or remove a nested DRD.
25+
26+
.Rename new nested DRD in the Decision Navigator menu
27+
image::dmn/dmn-drd-actions-rename.png[]
28+
--
29+
. In the separate canvas for the new nested DRD, design the flow and logic for all required components in this portion of the DMN model, as usual.
30+
. Continue adding and defining any other nested DRDs for your decision model and save the completed DMN file.
31+
+
32+
--
33+
For example, the following DRD for a loan prequalification decision model contains all DMN components for the model without any nested DRDs. This example relies on the single DRD for all components and logic, resulting in a large and complex diagram.
34+
35+
.Single DRD for loan prequalification
36+
image::dmn/dmn-example-drd.png[]
37+
38+
Alternatively, by following the steps in this procedure, you can divide this example DRD into multiple nested DRDs to better organize the decision requirements, as shown in the following example:
39+
40+
.Multiple nested DRDs for loan prequalification
41+
image::dmn/dmn-drd-multiple.png[]
42+
43+
.Overview of front end ratio DRD
44+
image::dmn/dmn-drd-multiple-front-end.png[]
45+
46+
.DRD for front end ratio
47+
image::dmn/dmn-drd-multiple-front-end-details.png[]
48+
49+
.Overview of credit score rating DRD
50+
image::dmn/dmn-drd-multiple-credit-score.png[]
51+
52+
.DRD for credit score rating
53+
image::dmn/dmn-drd-multiple-credit-score-details.png[]
54+
55+
.Overview of back end ratio DRD
56+
image::dmn/dmn-drd-multiple-back-end.png[]
57+
58+
.DRD for back end ratio
59+
image::dmn/dmn-drd-multiple-back-end-details.png[]
60+
--

doc-content/drools-docs/src/main/asciidoc/ReleaseNotes-chapter.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
//IMPORTANT: For 7.24 and later, use the following include format:
66
//include::ReleaseNotes/ReleaseNotesDrools.7.24.0.Final/ReleaseNotesDrools.7.24.0.Final-section.adoc[leveloffset=+1]
77
//include::{shared-dir}/Workbench/ReleaseNotes/ReleaseNotesWorkbench.7.24.0.Final/ReleaseNotesWorkbench.7.24.0.Final-section.adoc[leveloffset=+1]
8+
9+
10+
include::{shared-dir}/Workbench/ReleaseNotes/ReleaseNotesWorkbench.7.44.0.Final/ReleaseNotesWorkbench.7.44.0.Final-section.adoc[leveloffset=+1]
11+
812
include::ReleaseNotes/ReleaseNotesDrools.7.41.0.Final/ReleaseNotesDrools.7.41.0.Final-section.adoc[leveloffset=+1]
913

1014
include::{shared-dir}/Workbench/ReleaseNotes/ReleaseNotesWorkbench.7.41.0.Final/ReleaseNotesWorkbench.7.41.0.Final-section.adoc[leveloffset=+1]

doc-content/shared-kie-docs/src/main/asciidoc/KIE/Overview/decision-authoring-assets-ref.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The following table highlights the main decision-authoring assets supported in {
2424
|Decision Model and Notation (DMN) models
2525
a|
2626
* Are decision models based on a notation standard defined by the Object Management Group (OMG)
27-
* Use graphical decision requirements diagrams (DRDs) with one or more decision requirements graphs (DRGs) to trace business decision flows
27+
* Use graphical decision requirements diagrams (DRDs) that represent part or all of the overall decision requirements graph (DRG) to trace business decision flows
2828
* Use an XML schema that allows the DMN models to be shared between DMN-compliant platforms
2929
* Support Friendly Enough Expression Language (FEEL) to define decision logic in DMN decision tables and other DMN boxed expressions
3030
ifdef::PAM,JBPM[]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[id='drools.releasenotesworkbench.7.44.0.final']
2+
3+
= New and Noteworthy in Business Central 7.44.0
4+
5+
include::multiple-drds-support-con.adoc[leveloffset=+1]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[id='multiple-drds-support-con']
2+
3+
= Support for multiple diagrams in DMN models
4+
5+
For complex DMN models, you can now use the DMN designer in {CENTRAL} to design multiple DMN decision requirements diagrams (DRDs) that represent parts of the overall decision requirements graph (DRG) for a DMN decision model. This improvement enables you to better organize DMN decision models with many decision requirements by dividing the model into smaller nested DRDs.
6+
7+
For more information about creating DMN models with multiple diagrams, see
8+
ifdef::PAM,DM[]
9+
{URL_DEVELOPING_DECISION_SERVICES}#dmn-model-creating-multiples-proc_dmn-models[_{DMN_MODELS}_]
10+
endif::[]
11+
ifdef::JBPM,DROOLS,OP[]
12+
xref:dmn-model-creating-multiples-proc_dmn-models[].
13+
endif::[]

0 commit comments

Comments
 (0)