Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Within organizations decisions are made frequently and have an important impact on reaching the organization's organizations goals. Decisions are made using logic, even if that is not always obvious. There are many organizations that have automated their operational decision making using software. Blueriq is a platform that is often used to make decisions.automate (parts of) the decision making process.

This chapter discusses how decision management is supported in Blueriq by means of Decision Requirements Graphs.

Table of Contents

Decision Requirements Graph (DRD)

Blueriq adopted the Object Modeling Group (OMG) Therefore, Blueriq adopted OMG's standard of Decision Model and Notation (DMN) with regards to the Decision Requirements Graph Diagram (DRGDRD). However, some constructs in Blueriq's DRG differ from the standard. Furthermore, Blueriq uses a DRG in designtime and a slightly different DRG in runtime.

Best practices in designing decisions

When creating a business model in Blueriq, one must always aim to model decisions that can be easliy understood by the business. To verify whether the level of complexity of th decisions is acceptable, a DRG can be generated at any time in the design process. This DRG is then used to visualize the decision and its sub decisions and by that give insight to a business engineer and for instance an analyst on how this particular decision is made.

A best practice when designing decisions is given below. It is not to be used as "the one and only way" but should be treated as a possible means to create understandable decisions.

1Main

Ask yourself the question what the main decision is. If you think of more than one answer, split these decisions if possible.
For instance, if you main decision is "the amount and duration of a child care benefit" you are modeling two decisions. Design them seperately and reuse attributes that accomodate both decisions.

2TypeNote that a decision is not bound to be a Boolean. In general, there are three types of decisions:
  • Boolean decision (you are eligible for benefit X),
  • Classification (you will receive category 'medium' for benefit X) or
  • Calculation result (you will receive € 100,- per year for benefit X).
3SubFor each identified decision, determine if the decision is preferrably built up in meaningful sub decisions. These sub decisions could be reusable decisions - in fact reusable decisions will most likely be sub decisions - but not every sub decision has to be a reusable decision.
Think of a complex calcutaion where intermediate results are never reused but are created nevertheless, for the sake of understandability.
4CircularityAvoid circularity. When decision A depends on the outcome of decision B and decision B needs the result of decision A as input, you're in trouble! When desiging decisions top-down circular references can easliy be avoided.
5 ...

This means that Blueriq generates a DRD at design time in Encore, based on the decisions and sub decisions that have been modeled. Furthermore, Blueriq offers a DRD at design time and a slightly different DRG at runtime.

For more info on DRGs see Decision Requirements Diagram or DRD in Encore

Design time Decision Requirements Diagram

...

When designing a decision, make use of the Decision Requirements Graph Diagram (DRGDRD), depicted by a scale icon:Image RemovedImage Added.
(for more info on and where to open DRG's see Decision Requirements Graph (DRG))DRGs see Decision Requirements Diagram or DRD in Encore)

Let us say we are modeling a Let's say we're modeling a very simple decision that determines whether someone will receive a discount on some sort of insurance.
Females are eligible for this discount, males are not. The decision requirements graph will probably look something like the one sown shown below.
Use In Encore, use Ctrl-Click click on the various elements to open them and verify that the discount is modeled correctly.

Image RemovedImage Added

Alyhough Although even for simple decisions the DRG DRD is very useful while designing or reviewing, the true strength of the DRG DRD is exemplified when designing or reviewing multi-layered complex decisions. See the example DRG DRD below, that shows the decision that determines an applicant's riskscore.

Runtime Decision Requirements Graph

text

Constructs of the Decision Requirements Graph

text

Decisions

text

Business knowledge models

text

Input data

text

Knowledge source

text

Constructs of Decision Modeling in Blueriq

text

Attributes

text

Sources

text

Business rules

text

Decision tables

text

Default expressions

text

Data rules

Strategy. At level 1 this decision looks trivial.

Image Added

When expanded to the next level, it shows that the decision consists of two separate decisions.

Image Added

At level 4 the we find that there are in fact many more decisions in play:

Image Added

It is possible to completely expand all decisions, knowledge models, input data and sources in one single graph, but this will most likely result in a diagram that is not usable for any type of audience. Therefore it is advised to expand sub decisions in separate DRDs. Shown below is such a DRD for the sub decision Bureau call type.

Image Added

In the examples above, knowledge sources are shown. These knowledge sources appear in a DRD when a specification is linked to a decision (decision table, business rule, attribute with expression, etc.).

Runtime Decision Requirements Graph

Although OMG´s standard DMN does not contain any specifications for it, Blueriq also uses a runtime decision requirements graph. This graph resembles the design time decision requirements diagram, but differs mainly with regards to the fact that it shows all given answers and derived values. See the example below.

Excerpt Include
DOC:Decision Requirements Graph or DRG in runtime
DOC:Decision Requirements Graph or DRG in runtime
nopaneltrue

More information about the DRG in runtime can be found here: Decision Requirements Graph or DRG in runtime

Panel
Section
Column
width50%

Previous: What is decision management?

Column

Next: Designing decisions

...