Business Rules Management
Transcription
Business Rules Management
Business Rules Management Martijn Zoet Universiteit Utrecht - 2012 Today’s lesson A introduc+on should be like a lady's skirt: long enough to cover the essen+als but short enough to keep it interes+ng (Based on English proverb) Grip Understanding Awareness Business Rules Management (Value Proposi=on) Business Rules (Value Proposi=on) Rules Business Value Proposi=on Awareness (Based on English proverb and De Groot) ! Rules ! ! Rules ! ! Rules ! ! Rules ! BR(M) Value Proposi=on Grip Understanding Awareness Business Value Business Rules Value Business Rules Management Value How much is the small blind? Which player has to post the small blind? How much is the big blind? Which player has to post the big blind? How many cards need to be dealt? What is the minimal bet? What is the maximal bet? How do we bet? How many cards need to be burned? How many cards need to be dealt? What is the minimal bet? What is the maximal bet? How do we bet? How many cards need to be burned? How many cards need to be dealt? What is the minimal bet? What is the maximal bet? How do we bet? How many cards need to be burned? How many cards need to be dealt? What is a River Card? What is the minimal bet? What is the maximal bet? How do we bet? What is the minimal bet? What is the maximal bet? How do we bet? The order of ac+vi+es? Case: Aegon Bank Case: Aegon Bank Case: Aegon Bank Case: Aegon Bank Func+onality through Registra+on; Quota+ons; Acceptance; Therefore Straight Processing Case: Belas+ngdienst Business Rules Eco‐System Regula=on Suprana=onal Na=onal Organiza=on A Local Standardiza=on Organisa=ons Organiza=on C Branche Organiza=ons Consumers Value Network BR(M) Value Proposi=on Grip Understanding Awareness Business Value Business Rules Value Business Rules Management Value Business Rules: Examples A customer that has placed an order must have an assigned agent A customer is always considered a gold customer if the customer places more than 12 orders during a calendar year A gold customer must be allowed access to the warehouse An order over $1,000 must not be accepted on credit without a credit check Delivery of products is not allowed before the customer has paid the bill A quota+on must be offered within one day aWer an applica+on has been received Business Rules: Dutch Examples (1/2) Klanten met een BKR codering nemen we niet aan. Bij de OPMAAT hypotheek dient een verzekering van verzekering X afgesloten te worden. Hypotheken met een hoofdsom onder de NHG norm krijgen 0,2% rentekor+ng. De notaris moet bekend zijn bij voorkeur voor offereren, doch uiterlijk voor finaal akkoord. Een senior acceptant mag een maximale rentekor+ng geven van 0,5 % De basisrente voor alle hypotheken wordt de komende twee weken met 0,5% verhoogd. Bij renteherzieningen wordt het komende jaar 1,5% boven de marktrente geoffreerd. Business Rules: Dutch Examples (2/2) Bij ontslag hoofdelijke aansprakelijk wordt niet gerappelleerd op ontbrekende stukken. Op het scherm is al+jd het dossiernummer en de naam van de ingelogde gebruiker zichtbaar. We bieden samen met de verzekeraar een geintegreerde offerte aan. Nieuwe klanten krijgen voortgang boven bestaande klanten De maximale verstrekkingsnorm voor de Flexibel Hypotheek is 125% boven de exectu+ewaarde. Bij bekende taxa+ewaarden ouder dan een half jaar wordt bij een muta+e geen hertaxa+e uitgevoerd. Bij muta+es van contracten wordt geen BKR toets aangeroepen. Business Rules: Implementa+on A cer+fied security helmet must always be worn by someone who resides on the workplace Cer+fied security shoes must always be worn by someone who resides on the workplace A warning sign on the entrance of the workplace that displays the conceptual rules men+oned above A work instruc+on manual that is handed over to all personnel and that contains the rules men+oned above A porter at the entrance of the workplace, having work instruc+ons containing the rules men+oned above, that controls everybody who enters on wearing a cer+fied helmet and cer+fied shoes Posi+on of Business Rules Problem Goal Addressed by Constraints or Guidelines Architectural Solu+on Defines Realized by Business Rules Requirement Business Rules Based on Engelsman (2010) Posi+on of Business Rules Business Process Management Lifecycle Gartner (2008) The ‘Decision Process’ goed laag hoog slecht Task Sequencing Rules Defini+on: Rules that have an influence on the posi+oning of one or mul+ple process elements Example: Rule: Banks are permijed to transfer money for individuals that are not exis+ng customers but this is subjected to rules (BASEL II). Actor Inclusion Rules Defini+on: Rules that have an influence on the assignment of tasks or decision to specific actors Example: Rule: internal regula+on exist that the communica+on of the results should always be performed by a doctor. Data Informa+on Registra+on Defini+on: Rules that have an influence on recording and viewing data/informa+on, and the authoriza+ons related to this. Example: • Completeness • Accuracy • Timing • Authoriza+on Example Based on Basel II BR(M) Value Proposi=on Grip Understanding Awareness Business Value Business Rules Value Business Rules Management Value Suppor+ng business rules using methods, techniques and soWware for the elicita+on, analysis, design, deployment and monitoring of business rules involving humans, organiza+ons, applica+ons, documents and other sources of informa+on Zoet and Versendaal (2010) “a statement that defines or constrains some aspect of the business intending to assert business structure or to control the behaviour of the business”. Morgan (2002) Business Rules Defining business en++es, business logic, constraints or calcula+ons. Zoet and Versendaal (2011) BR Value Governing of methods, techniques and soWware for the elicita+on, analysis, design, deployment and monitoring of business rules defining business en++es, business logic, constraints or calcula+ons. Zoet and Versendaal (2011) BRM Value Process Versus Rules Management History Business Process Management Business Rules Management Business Rules Management Framework Device Lifecycle Management System SoIware Monitoring Applica=on Component Deployment Applica=on Func=on Valida=on Nota=on Component Design Nota=on Func=on Analysis Actors Elicita=on Business Process Rule Type(s) Business Rules Management Framework Device Lifecycle Management System SoIware Monitoring Applica=on Component Deployment Applica=on Func=on Valida=on Nota=on Component Design Nota=on Func=on Analysis Actors Elicita=on Business Process Rule Type(s) Different Business Rules Languages SWRL Produc+on Rule Representa+on Decision Trees RuleML Decision Tables Legal Blueprint Domain Models Juridisch Decomplexiemodel Visual Rules Models Rule Interchange Format E‐Power Method Seman+cs of Business Vocabulary and Business Rules Example Languages (1/2) Example Languages (2/2) The issue part Business Rules Country Business Process State Data City Events Town SOA County ORGANISATION Wat betekent loon? Business Vocabulary Business Vocabulary and Data Structures The issue part 2 Business Rules Production Rule Representation SWRL Decision Tables RuleML Decision Trees Juridisch Decomplexiemodel Domain Models Rule Interchange Format Legal Blueprint Visual Rules Models E-Power Method Semantics of Business Vocabulary and Business Rules Business Process Unified Modeling Language Integration DEFinition for Function Business Process Execution Language Business Process Modeling Notation Event-driven Process Chain Flowcharts Petri Nets Archimate Fundamental Modeling Concepts Focus Languages • 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. Event, Condi+on and Ac+on Production Rule Representation Kardasis (2004): Conceptual Formaliza+ons ‘Rule Management Group Language’ SBVR 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.” Rulespeak Rulespeak Condi+on and Conclusion Decision Tables NO SILVER BULLET (Brooks, 1987 - IEEE Computer) flickr: eschipul No signs or lights - but fewer accidents? 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 responsibility," says Nieske Ketelaar, Drachten city councillor……………… their (3 News, 2009) BR(M) Value Proposition Grip Understanding Awareness Business Value Business Rules Value Business Rules Managemen t Value Possible Downside BR-Solutions Dehumanization Tunnel Vision Knowledge Pool Drain Based on Everest (2010) Possible Downside BR-Solutions Unexpected violation of law (Professional) Liability Intellectual Property Based on Everest (2010) MBI Colluqium 14-09-2009