72
Business Rules Management Martijn Zoet Universiteit Utrecht - 2012

Business Rules Management

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Business Rules Management

Business Rules Management

Martijn Zoet Universiteit Utrecht - 2012

Page 2: Business Rules Management
Page 3: Business Rules Management

Today’slessonAintroduc+onshouldbelikealady'sskirt:longenoughtocovertheessen+alsbutshortenoughtokeepitinteres+ng(BasedonEnglishproverb)

(BasedonEnglishproverbandDeGroot)

Awareness

Understanding

Grip

BusinessRulesManagement(ValueProposi=on)

BusinessRules(ValueProposi=on)

RulesBusinessValueProposi=on

Awareness

Page 4: Business Rules Management

!Rules!!Rules!!Rules!!Rules!

Page 5: Business Rules Management

BR(M)ValueProposi=on

BusinessRulesValue

BusinessRulesManagement

Value

BusinessValueAwareness

Understanding

Grip

Page 6: Business Rules Management
Page 7: Business Rules Management

Howmuchisthesmallblind?Whichplayerhastopostthesmallblind?

Page 8: Business Rules Management

Howmuchisthebigblind?Whichplayerhastopostthebigblind?

Page 9: Business Rules Management

Howmanycardsneedtobedealt?

Page 10: Business Rules Management

Whatistheminimalbet?Whatisthemaximalbet?Howdowebet?

Page 11: Business Rules Management

Howmanycardsneedtobeburned?

Page 12: Business Rules Management

Howmanycardsneedtobedealt?

Page 13: Business Rules Management

Whatistheminimalbet?Whatisthemaximalbet?Howdowebet?

Page 14: Business Rules Management

Howmanycardsneedtobeburned?

Page 15: Business Rules Management

Howmanycardsneedtobedealt?

Page 16: Business Rules Management

Whatistheminimalbet?Whatisthemaximalbet?Howdowebet?

Page 17: Business Rules Management

Howmanycardsneedtobeburned?

Page 18: Business Rules Management

Howmanycardsneedtobedealt?WhatisaRiverCard?

Page 19: Business Rules Management

Whatistheminimalbet?Whatisthemaximalbet?Howdowebet?

Page 20: Business Rules Management

Whatistheminimalbet?Whatisthemaximalbet?Howdowebet?

Page 21: Business Rules Management

Theorderofac+vi+es?

Page 22: Business Rules Management
Page 23: Business Rules Management

Case:AegonBank

Page 24: Business Rules Management

Case:AegonBank

Page 25: Business Rules Management

Case:AegonBank

Page 26: Business Rules Management

Case:AegonBankFunc+onalitythrough  Registra+on;  Quota+ons;  Acceptance;

  ThereforeStraightProcessing

Page 27: Business Rules Management

Case:Belas+ngdienst

Page 28: Business Rules Management
Page 29: Business Rules Management

ValueNetwork

Organiza=onA Organiza=onC

Suprana=onal

Regula=on

Na=onal Local

Standardiza=onOrganisa=ons

BrancheOrganiza=ons

Consumers

BusinessRulesEco‐System

Page 30: Business Rules Management

BR(M)ValueProposi=on

BusinessRulesValue

BusinessRulesManagement

Value

BusinessValueAwareness

Understanding

Grip

Page 31: Business Rules Management

Acustomerthathasplacedanordermusthaveanassignedagent

BusinessRules:Examples

Acustomerisalwaysconsideredagoldcustomerifthecustomerplacesmorethan12ordersduringacalendaryear

Agoldcustomermustbeallowedaccesstothewarehouse

Anorderover$1,000mustnotbeacceptedoncreditwithoutacreditcheck

Deliveryofproductsisnotallowedbeforethecustomerhaspaidthebill

Aquota+onmustbeofferedwithinonedayaWeranapplica+onhasbeenreceived

Page 32: Business Rules Management

KlantenmeteenBKRcoderingnemenwenietaan.

BusinessRules:DutchExamples(1/2)

BijdeOPMAAThypotheekdienteenverzekeringvanverzekeringXafgeslotenteworden.

HypothekenmeteenhoofdsomonderdeNHGnormkrijgen0,2%rentekor+ng.

Denotarismoetbekendzijnbijvoorkeurvooroffereren,dochuiterlijkvoorfinaalakkoord.

Eensenioracceptantmageenmaximalerentekor+nggevenvan0,5%

Debasisrentevoorallehypothekenwordtdekomendetweewekenmet0,5%verhoogd.

Bijrenteherzieningenwordthetkomendejaar1,5%bovendemarktrentegeoffreerd.

Page 33: Business Rules Management

Bijontslaghoofdelijkeaansprakelijkwordtnietgerappelleerdopontbrekendestukken.

BusinessRules:DutchExamples(2/2)

Ophetschermisal+jdhetdossiernummerendenaamvandeingelogdegebruikerzichtbaar.

Webiedensamenmetdeverzekeraareengeintegreerdeofferteaan.

Nieuweklantenkrijgenvoortgangbovenbestaandeklanten

DemaximaleverstrekkingsnormvoordeFlexibelHypotheekis125%bovendeexectu+ewaarde.

Bijbekendetaxa+ewaardenouderdaneenhalfjaarwordtbijeenmuta+egeenhertaxa+euitgevoerd.

Bijmuta+esvancontractenwordtgeenBKRtoetsaangeroepen.

Page 34: Business Rules Management

Aporterattheentranceoftheworkplace,havingworkinstruc+onscontainingtherulesmen+onedabove,thatcontrolseverybodywhoentersonwearingacer+fiedhelmetandcer+fiedshoes

Acer+fiedsecurityhelmetmustalwaysbewornbysomeonewhoresidesontheworkplace

BusinessRules:Implementa+on

Cer+fiedsecurityshoesmustalwaysbewornbysomeonewhoresidesontheworkplace

Awarningsignontheentranceoftheworkplacethatdisplaystheconceptualrulesmen+onedabove

Aworkinstruc+onmanualthatishandedovertoallpersonnelandthatcontainstherulesmen+onedabove

Page 35: Business Rules Management

Problem Goal

ArchitecturalSolu+on

BasedonEngelsman(2010)

Requirement

Posi+onofBusinessRules

Addressedby

Realizedby

BusinessRulesConstraintsorGuidelines Defines

BusinessRules

Page 36: Business Rules Management

BusinessProcessManagementLifecycleGartner(2008)

Posi+onofBusinessRules

Page 37: Business Rules Management
Page 38: Business Rules Management

goed

slecht

laag

hoog

The‘DecisionProcess’

Page 39: Business Rules Management

TaskSequencingRulesDefini+on:Rulesthathaveaninfluenceontheposi+oningofoneormul+pleprocesselements

Example:

Rule:Banksarepermijedtotransfermoneyforindividualsthatarenotexis+ngcustomersbutthisissubjectedtorules(BASELII).

Page 40: Business Rules Management

ActorInclusionRulesDefini+on:Rulesthathaveaninfluenceontheassignmentoftasksordecisiontospecificactors

Example:

Rule:internalregula+onexistthatthecommunica+onoftheresultsshouldalwaysbeperformedbyadoctor.

Page 41: Business Rules Management

DataInforma+onRegistra+onDefini+on:Rulesthathaveaninfluenceonrecordingandviewingdata/informa+on,andtheauthoriza+onsrelatedtothis.

Example:

• Completeness• Accuracy• Timing• Authoriza+on

ExampleBasedonBaselII

Page 42: Business Rules Management

BR(M)ValueProposi=on

BusinessRulesValue

BusinessRulesManagement

Value

BusinessValueAwareness

Understanding

Grip

Page 43: Business Rules Management

Suppor+ngbusinessrulesusingmethods,techniquesandsoWwarefortheelicita+on,analysis,design,deploymentandmonitoringofbusinessrulesinvolvinghumans,organiza+ons,

applica+ons,documentsandothersourcesofinforma+onZoetandVersendaal(2010)

Page 44: Business Rules Management

“astatementthatdefinesorconstrainssomeaspectofthebusinessintendingtoassertbusinessstructureortocontrolthebehaviourofthebusiness”.Morgan(2002)

Governingofmethods,techniquesandsoWwarefortheelicita+on,analysis,design,deploymentandmonitoringofbusinessrulesdefiningbusinessen++es,businesslogic,constraintsorcalcula+ons.

ZoetandVersendaal(2011)

BusinessRules

BRValue

BRMValue

Definingbusinessen++es,businesslogic,constraintsorcalcula+ons.ZoetandVersendaal(2011)

Page 45: Business Rules Management

ProcessVersusRulesManagementHistory

BusinessProcessManagement

BusinessRulesManagement

Page 46: Business Rules Management

BusinessProcess

Actors

Nota=

onFunc=on

Nota=

onComponent

Applica=

onFunc=on

Applica=

onCom

ponent

SystemSoI

ware

Device

Elicita=on

Analysis

Design

Valida=on

Deployment

Monitoring

RuleType(s)

LifecycleManagement

BusinessRulesManagementFramework

Page 47: Business Rules Management

BusinessProcess

Actors

Nota=

onFunc=on

Nota=

onComponent

Applica=

onFunc=on

Applica=

onCom

ponent

SystemSoI

ware

Device

Elicita=on

Analysis

Design

Valida=on

Deployment

Monitoring

RuleType(s)

LifecycleManagement

BusinessRulesManagementFramework

Page 48: Business Rules Management
Page 49: Business Rules Management
Page 50: Business Rules Management

SWRL

LegalBlueprint

JuridischDecomplexiemodel

DecisionTrees

DecisionTables RuleML

E‐PowerMethod

RuleInterchangeFormat

Produc+onRuleRepresenta+on

DomainModels

Seman+csofBusinessVocabularyandBusinessRules

VisualRulesModels

DifferentBusinessRulesLanguages

Page 51: Business Rules Management

Example Languages (1/2)

Page 52: Business Rules Management

Example Languages (2/2)

Page 53: Business Rules Management

Business Rules Country

SOA County

Business Process State

Data City Events Town

ORGANISATION

Theissuepart

Page 54: Business Rules Management

Watbetekentloon?

Page 55: Business Rules Management

BusinessVocabulary

Page 56: Business Rules Management
Page 57: Business Rules Management
Page 58: Business Rules Management

BusinessVocabularyandDataStructures

Page 59: Business Rules Management

Business Rules

Theissuepart2

Business Process

SWRL

Legal Blueprint

Juridisch Decomplexiemodel

Decision Trees Decision Tables RuleML

E-Power Method

Rule Interchange Format

Production Rule Representation

Petri Nets

Archimate

Unified Modeling Language

Business Process Modeling Notation

Domain Models

Semantics of Business Vocabulary and Business Rules

Integration DEFinition for Function

Fundamental Modeling Concepts

Business Process Execution Language

Flowcharts

Event-driven Process Chain

Visual Rules Models

Page 60: Business Rules Management

•  Event, Condition and Action or Context, Property, Operation and Keywords. •  Represents decision as events that triggers a rule, a condition that is evaluated

and actions that are executed.

•  Conceptual formalizations •  Represent rules as statements that are based on fact statements related to

terms.

•  Condition and Conclusion •  Represent rules as conditions that lead to specific conclusions.

FocusLanguages

Page 61: Business Rules Management

Event,Condi+onandAc+on

Kardasis (2004):

Production Rule Representation

Page 62: Business Rules Management

ConceptualFormaliza+ons

SBVR

‘Rule Management Group Language’

Page 63: Business Rules Management

Rulespeak

Rulespeak (2010): “Definitie: RuleSpeak® is een verzameling richtlijnen voor het formuleren van bedrijfsregels op een bedrijfsvriendelijke en precieze manier. Het is geen taal of syntax maar eerder een verzameling voorschriften voor Nederlandstalige formulering van bedrijfsregels gebaseerd op ervaringen in de praktijk.

Bedoeling: • Het vergroten van de helderheid en consistentie in het communiceren van regels tussen mensen uit de bedrijfspraktijk of als eisen (requirements) voor de ontwikkeling van IT systemen.

• Het effectief verkrijgen, verwoorden en behouden van bedrijfskennis en criteria om beslissingen te nemen.”

Page 64: Business Rules Management

Rulespeak

Page 65: Business Rules Management

Rulespeak

Page 66: Business Rules Management

Condi+onandConclusionDecision Tables

Page 67: Business Rules Management

NO SILVER BULLET

flickr: eschipul

(Brooks, 1987 - IEEE Computer)

Page 68: Business Rules Management

Can you imagine having no traffic lights or signs or any other way of keeping cars and people apart? The results would be dangerous chaos, right?

Well, they have a lot a faith in human nature in the small Dutch town of Drachten. Its main intersection is a busy place, where cars and trucks compete with people on bicycles, and others on foot. The normal civic response - here and elsewhere - has been to put in more traffic lights, divide the roadway into lanes - control things. But the response in Drachten has been the opposite - they took the controls away.

A funny thing happened. The accident rate around the intersection went down - way down, from more than eight a year to fewer than two.

"We wanted to appeal to social behaviour, people's own behaviour and their responsibility," says Nieske Ketelaar, Drachten city councillor………………

(3 News, 2009)

No signs or lights - but fewer accidents?

Page 69: Business Rules Management

BR(M) Value Proposition

Business Rules Value

Business Rules

Management Value

Business Value Awareness

Understanding

Grip

Page 70: Business Rules Management

Dehumanization

Possible Downside BR-Solutions

Tunnel Vision

Knowledge Pool Drain

Based on Everest (2010)

Page 71: Business Rules Management

Unexpected violation of law

(Professional) Liability

Intellectual Property

Based on Everest (2010)

Possible Downside BR-Solutions

Page 72: Business Rules Management

14-09-2009 MBI Colluqium