It s Time: Ditch your Business Rules

Similar documents
Introducing The Decision Model: A Business Logic Framework

Symposium) Larry Goldberg & Barbara von Halle. Managing Partners, Knowledge Partners International, LLC

Designing a Retirement Portfolio That s Just Right For You

Effective Corporate Budgeting

Sending Supplements. (c) Copyright Roof Sales Mastery, LLC - All Rights Reserved.

Understanding Pension Auto Enrolment. Essentials Guide

A Layman s Guide to Earned Value

Conversations: Jeffrey Owens and Rick McDonell

Communiqué. A Practice Management Newsletter. July Insurance Design Professional

SAMURAI SCROOGE: IMPORTANT CONCEPTS

Mind the Retail Mortgage Gap. To Close More Loans, First Close the Gap

Introduction To The Income Statement

True Program Costs: Program Budgets and Allocations

Accounting Part 1 STUDY UNIT. Accounting Part 1 STUDY UNIT

Errors in Operational Spreadsheets: A Review of the State of the Art

the household money organizer

RetirementWorks. The input can be made extremely simple and approximate, or it can be more detailed and accurate:

42 % 33 % Many small business owners understand the actions needed to plan for transition (based on transition-focused owners, ratings of importance)

The New ROI. Applications and ROIs

Scenic Video Transcript End-of-Period Accounting and Business Decisions Topics. Accounting decisions: o Accrual systems.

Insurers Driving Agility and Cost Optimization With BPM-Enabled SOA

Outline of insider trading

Technical Debt (TD) ( Technical Debt (TD) 1 / 23

Find Out How Much You May Really Need

Transforming the Insurance Enterprise through Adaptive Systems. An Oracle White Paper December 2009

Nonprofit Budgeting Part 2: Building Better Budgets

Term Par Swap Rate Term Par Swap Rate 2Y 2.70% 15Y 4.80% 5Y 3.60% 20Y 4.80% 10Y 4.60% 25Y 4.75%

QUANTUM SALES COMPENSATION Designing Your Plan (How to Create a Winning Incentive Plan)

Rookie Mistake #7. What is a Capitalization Table and what does it say about my Company?

Te c h n o l o gy : According to a recent ELAOnline

The Math of Intrinsic Value

One statement we continually hear after talking to new members is, I didn t think that y all did that!

4 BIG REASONS YOU CAN T AFFORD TO IGNORE BUSINESS CREDIT!

Watch the Bottom Line

HARP Refinance Guide. How You can Benefit from the HARP Program

CONTENTS. Introduction 2. Survey Highlights 3. Survey Demographics 5. Processes 10. Challenges 17

11 Critical Mistakes Many Entrepreneurs Make

Building the Healthcare System of the Future O R A C L E W H I T E P A P E R F E B R U A R Y

IFRS Today. The IFRS 17 journey No time to rest. KPMG s podcast series on IFRS and financial reporting EPISODE 9 TRANSCRIPT. Host. Mary.

STRATEGIC IT FINANCE. 6 best practices for. Executive summary. Empowering IT Finance to align spend with business priorities.

INSURANCE ASSET MANAGEMENT, NORTH AMERICA 2016

Using data mining to detect insurance fraud

Report of the VA CARVM Survey Results of the American Academy of Actuaries Variable Annuity Reserve Work Group

REPORT ON FINANCIAL ACTIVITY FACILITATOR MANUAL WITH SIMULATED ONLINE BUSINESS ASSESSMENT BSBFIA402A

Insure Oklahoma. Oklahoma Health Care Authority. Employer Survey April 9, 2008

NetPicks Keltner Bells

chief ombudsman & chief executive s report

Strategy Paper: Financial Planning for Generation-Y. SMSF Specialists Investment Management Financial Planning Accounting

NFIB SMALL BUSINESS. William C. Dunkelberg Holly Wad SMALL BUSINESS OPTIMISM INDEX COMPONENTS. Seasonally Adjusted Level

In this chapter: Budgets and Planning Tools. Configure a budget. Report on budget versus actual figures. Export budgets.

2017 ONLINE CARD SCHOOL

QuickBooks. For Evaluation Only. Premier 2015 Level 2. Courseware MasterTrak Accounting Series

Deferred Maintenance. Data Gathering and Presentation. By Tim McDonald 36 MAY/JUNE 2016 FACILITIES MANAGER

Know when to use them.know when to lose them

Key Performance Indicators. An Introductory Guide. Stephen Mabey Managing Director

ROYAL BANK OF CANADA SPEAKS AT NATIONAL BANK FINANCIAL CANADIAN FINANCIAL SERVICES CONFERENCE

Practical Considerations for Building a D&O Pricing Model. Presented at Advisen s 2015 Executive Risk Insights Conference

NFIB SMALL BUSINESS. William C. Dunkelberg Holly Wad SMALL BUSINESS OPTIMISM INDEX COMPONENTS. Seasonally Adjusted Level

Remember, your job is to manage working capital (cash) and ensure your company has enough of it to grow and to weather economic downturns.

User guide for employers not using our system for assessment

How Do Small Businesses Shop for a New 401(k)?

Fosters Construction Deryl Northcott, University of Manchester

Presenter: And Paul, you've been quite vocal on the inadequacies of the SRRI calculation.

How to Handle FASB s Unfair Value Standard

LP Perspectives. Real Estate Obsolescence: Portfolio Risks and Opportunities

FOR AN UNCLAIMED FUNDS AUDIT

What s My Note Worth? The Note Value Handbook

How to Control Your Own Destiny, Generate More Fees and Explode Your Wealth By Structuring Your Own Deals Using Little of Your Own Money WEALTH

What else could you do with the time you spend on budgeting?

INSIGHTS REPORT VOLUME 08 WHAT S INSIDE. A variable swine market means there are key areas producers should focus on for shortand long-term planning.

How to Use the New NeighborWorks New Homebuyer Full Information Service Module in CounselorMax

Legal entity reduction: Savings on tap?

Creative Project Accounting

Monthly Treasurers Tasks

Pace Complete. Pace. Members Report. The Co-op pension scheme. December 2017

Running Your Business for Growth

Show Me the Money. Watch the Bottom Line. Objectives. Nature of Accounting. For discussion only. Fig 1. Student Guide

Beware the Enterprise Valuation Measure

Module 4. Table of Contents

NFIB SMALL BUSINESS. William C. Dunkelberg Holly Wade SMALL BUSINESS OPTIMISM INDEX COMPONENTS

FIS INSURANCE PROCESS CONTROLLER SYSTEM INTEGRATION, PROCESS AUTOMATION AND COMPOSITE APPLICATION PLATFORM

Your guide to pension transfers. About this guide

Expectations for Project Work

Financial reports give a snapshot of a company s value at the end of a

How to Find and Qualify for the Best Loan for Your Business

Managing operational tax risk through technology

Glossary of Terms Sales Performance Management

The role of an actuary in a Policy Administration System implementation

Seven Considerations Before Creating a Family Office

Monthly Treasurers Tasks

Venture capital trusts. An Octopus guide

ste vv art Recorded Documents- By Bill Pratt, Underwriting Counsel IN THIS ISSUE...

Insurance Program Benchmarking Methodology July 2015 Global Headquarters 1430 Broadway, 8th Floor New York, NY

Microsoft Forecaster. FRx Software Corporation - a Microsoft subsidiary

P1: TIX/XYZ P2: ABC JWST JWST075-Goos June 6, :57 Printer Name: Yet to Come. A simple comparative experiment

Why Buy & Hold Is Dead

When events are measured: results improve. When feedback is provided the rate of improvement accelerates.

FIGHTING AGAINST CRIME IN A DIGITAL WORLD DAVID HARTLEY DIRECTOR, SAS FRAUD & FINANCIAL CRIME BUSINESS UNIT

ECO155L19.doc 1 OKAY SO WHAT WE WANT TO DO IS WE WANT TO DISTINGUISH BETWEEN NOMINAL AND REAL GROSS DOMESTIC PRODUCT. WE SORT OF

Components of a Complete Plan

Transcription:

Larry Goldberg and Barbara von Halle Larry was at the headquarters of one of the largest industrial organizations in the U.S., and his task, on behalf of a business rules technology vendor, was to understand why this client had decided to replace his client s technology with a package. The decision could not have been taken lightly this was a custom built order processing system, a huge system by any measure. It had been built but ten years previously at a cost that ran into eight figures. By the vendor s count it contained over 20,000 rules. Why would the client take the extreme case of replacing the system that they themselves, only a short time previously, had spoken about with high praise? Turns out, the problem lay in the rules! We have lost track of our rules, the client explained. The business doesn t feel able to manage the rules in the system. Larry understood immediately, and they really didn t have to spend the rest of the day giving us the details of the problem. We have other clients who discover that managing 1,500 business rules is a daunting task. Heck, one client with but 600 business rules cried Uncle! The hard, hard truth is that managing business rules is very, very difficult. Period. Now we know that we preach the value of business rules, and we glibly talk about them as levers that management can use to manage their business. We plead as guilty as others because it certainly seemed to make good sense. But one should only pull a lever that is appropriately labeled, and when the consequences of pulling that lever are well understood! Here is the reality: the business rules projects that have worked well, that have inspired our commitment to the discipline, and which we can point to as delivering on the promise of business rules, are those where the business rules have been abstracted into a form that is recognizable, and at a level of granularity that is manageable by the business people. One of the most successful business rules project in Larry s professional experience was implemented some 14 years ago at a financial services firm in the Midwest. Their system was years ahead of its time, and it transformed the company strategically, helping it become a leader in its primary market. But when we asked them if they would present at a business rules event, they were mystified. But we don t do anything with business rules was the response. But, of course, they did they were simply not aware of the underlying business rules engine that drove the technology. Their business rules were abstracted into, and exposed as, artifacts that had a greater granularity and a more meaningful context in their business than individual business rules. Consequently, they were managing far fewer that the 26,000 rules that we counted in their system. In fact, they viewed their system through the prism of what they called bricks about 100 or so sets of logic that were grouped in ways that made sense to the business. These bricks today would be called decision services, each having all the characteristics that define a well architected web service. These guys were ahead of their time, but their approach was one of the several that served as inspirations for Decision Management (DM), a new discipline that promises to deliver what we haven t been able to achieve with business rules. Of course, we say, Ditch your business rules, with our tongues firmly in our cheeks. But today we no longer ask people to think about managing individual business rules. We understand that managing at that fine level of granularity is challenging because of the multiplicity of the number of rules across the enterprise. Individual business rules are seldom of much business value by themselves without considering many other related business rules that almost certainly impact them. We also believe that the days of organizing business rules into natural language sentences are over, because they have proven to be unmanageable in that form. Business rules, sans context and structure, are fairly meaningless or of little management value by themselves. What do we mean by context and structure? 1

Let s start with context. By this we mean the context of the business decisions within which the business rules reside. Take the case of a business rule related to determining the preferred status of a customer. It would seem to be simple to express such a rule in a natural language, particularly with the well accepted forms of rule grammar that we have today. However, the fact is that the determination of customer status can be very complex, involving not one but perhaps tens of business rules, even in some cases hundreds of rules. Let s take a naïve example. A business rule may say: A customer is a preferred customer only if all the following are true: Customer s account is currently in good standing Customer has accumulated purchases in excess of $5,000 in the prior 12 month period This sounds pretty straightforward. Until you learn, as you dig deeper, that actually the customer s preferred status hinges on several more unrelated items (the grammar we are using in this example does not indicate, with the use of the words only if, that these things being true, then the customer is preferred; it merely means that if these things are not true, then the customer cannot be preferred). It may turn out that there are a slew of marketing rules to which the customer may have to comply to be considered preferred, and then there may also be a geographic issue that relates to preferred customers. There may also be business rules in several other areas that touch upon the customer s preferred status, such as supplier agreements, long term commitments from the customer, and so on. Well, the problem may be solved giving the rule context by gathering into one group all the business rules that relate to the customer being preferred. You could call that group a rule set, or, better yet, a business decision, and then you can manage that business decision as a single unit. So a business decision is a context for business rules, enabling you to see the business rules with all business rules that together reach a single decision. So much for context. What about structure? Well, just putting the business rules into sets that we conveniently call business decisions does not solve the problem of complexity. Turns out that some of the rules used to determine validity for the preferred program are also used to determine the amount of money that may be provided for co-op marketing or other purposes. So many (perhaps even most) business rules may belong to several sets (or business decisions). What happens when the business rule needs to change in one business decision for a particular business purpose, what is the impact on the business in the other sets in which the business rule is used? When business rules reach into the thousands then the complexities of this interwoven logic becomes fearsome, and problems abound. How do you test the business rules for completeness? How can you be sure that there are no duplicates? How can you make sure that there are no rules that contradict one another? The answer to that problem lies in structure. Think about the problem of data. Unstructured data is chaotic and difficult to use. So it needs to be structured. Everybody with very few exceptions uses a specific model to organize data: this is called the Relational Model. This model enables the data to be normalized that is, they are reduced to more desirable structures and soon enough it becomes easier to access, to understand, to manage. The Relational Model has become universal because it organizes the data based on the inherent structure of the data, so everybody pretty much understands it, and feels confident in accessing the data in such a structure. So the answer to the problems with business rules lies in a model for business logic that has a structure that is as elegant, as simple, as the Relational Model is for data. A model that will organize the logic, based on the inherent structure of the logic itself, into structures that are normalized and stable, and that make sense to the business person. 2

Such is the purpose of the Decision Model, a model proposed by us in our new book called The Decision Model: A Business Logic Framework Linking Business and Technology. We believe that the model meets the goal we set out to achieve, and will enable business to manage the large aggregates of business rules or, as we prefer to call it, business logic that inherently exist in organizations today but are unstructured and unmanaged. The model creates both a context that is, it combines a set of business logic into groupings that make business sense and a structure that is normalized and stable over time. One significant value of the model is that it can be represented visually, promoting a shared understanding of the logic just as a process model promotes shared understanding between all stakeholders. Look at the diagram in Figure 1. Determine Policy Tier Within Bounds (P2, P3) Override (P1), (P3) Policy Tier Within Bounds Policy Discount (P2) Policy Tier(P1)(P2) Override Insured Major Ownership Change (P2) Insured Major Location Change (P1) Policy Annual Premium (P3) Policy Discontinued Agent (P4) Policy Manual Flag (P5) Policy Discount Policy Grade (P1) Package Grade (P1) Package Discount (P1) Location State Category (P1) Insured Major Ownership Change Insured Minority Stockholder(P2) Insured Majority Stockholder(P3) Insured Board Change(P1) Insured CEO Change (P1)(P3) Insured Major Location Change Insured Location Zip 5 (P1) Insured Location Occupied Square Footage (P2) Insured Location Construction (P3) Figure 1. Sample Decision Model Adapted from: The Decision Model: A Business Logic Framework Linking Business and Technology, von Halle & Goldberg, 2009 Auerbach Publications/Taylor & Francis LLC. Reprinted with the permission of the Publisher. This diagram gives you the top level view of the Decision Model. A Decision Model diagram contains only two kinds of shapes. One is the octagon representing a business decision, and the other represents a Rule Family. The name of a Rule Family is always the name of its conclusion fact type and always appears above the solid line within the Rule Family shape. You can see from the business decision shape in Figure 1 that this is a model of Determine. This business decision is important to the success of the insurance company client: the higher the percentage of policies that they can renew automatically, the less out cost, and the better the service they can provide their customers. However, the quality of underwriting can t be compromised. So in order to balance these considerations, you may use the Decision Model to manage this business decision. Here you see a very important characteristic of a business decision: it is, we say, a conclusion that is based upon fact, and which the business is interested in managing. 3

Policy Tier Within Bounds Policy Tier(P1)(P2) Policy Discount (P2) Policy Discount Policy Grade (P1) Package Grade (P1) Policy Discount (P1) State Category (P1) Determine Policy Tier Within Bounds (P2, P3) Manual Policy Override (P1) Major Ownership Change Minority Stockholder(P3)(P4) Majority Stockholder(P2) Board Change(P1) CEO Change (P1)(P3) Manual Policy Override Major Ownership Change (P2) Major Location Change (P1) Annual Premium (P3) Discontinued Agent (P4) Manual Flag (P5).. (P6) Major Location Change Zip 5 (P1) Occupied Square Footage (P2) Construction (P3) BPTrends January 2010 A Decision Model always begins with the business decision, which, in turn, always connects to one Rule Family, called a Decision Rule Family. The Decision Rule Family has a conclusion fact type (or term) matching the business decision. Consequently, the Decision Rule Family in Figure 1 is called, which is its conclusion fact type. A Rule Family always contains only one conclusion fact type, which is why a Rule Family has only one name. However, a Rule Family also contains condition fact types leading to the conclusion. These always appear below the solid line. So, the Rule Family for Policy Tier Within Bounds contains two condition fact types: Policy Tier and Policy Discount. This means that the business logic in this Rule Family tests these two fact types to determine a value for its conclusion fact type, Policy Tier Within Bounds. Note that Policy Discount appears between the solid and dotted line, but Policy Tier appears below the dotted line. This is important. The values for Policy Tier are simply available as raw data from a database or web page. So this fact type appears below the dotted line. Yet, the values for Policy Discount are determined by other business logic. Therefore, this condition fact type relates to another Rule Family having this fact type as its conclusion fact type. So, Figure 3 contains a Rule Family whose conclusion fact type is Policy Discount, and there is a line connecting these Rule Families. This connection is an inferential relationship. It means the Rule Family called Policy Tier Within Bounds is dependent on the Rule Family called Policy Discount. Because the Decision Model diagram reveals only the inherent structure of its business logic, not its details, we need a way to expose the details. Policy Tier Within Bounds (P2, P3) Policy Manual Override (P1) Figure 2. Rule Family Structures in the Decision Model Source: The Decision Model: A Business Logic Framework Linking Business and Technology, von Halle & Goldberg, 2009 Auerbach Publications/Taylor & Francis LLC. Reprinted with the permission of the Publisher. 4

The details are in the Rule Family table and consist of rows conforming to its condition and conclusion columns. Figure 2 shows two inferentially related Rule Families and their Rule Family tables. The Rule Family for Policy Tier Within Bounds has two condition fact types, each of which has its own column in the Rule Family table under conditions. The conclusion fact type has its own column under conclusion. The Rule Family table is populated with combinations of conditions that lead to all the permutations for reaching conclusion values. You can add, delete, or update rows without making changes to the Decision Model structure. You can also guess at the Decision Model structure before knowing all business logic. This is extremely valuable for agile projects. At first glance, a Rule Family looks like a conventional decision table, but, in fact, it is a highly normalized structure that rigorously complies with the 15 Decision Model principles to ensure that it is stable and contains logic that has both inferential and business integrity. The two sample Rule Families in Figure 2 are good examples that you can use to explore this briefly. If you look at the Decision Rule Family for, you can read the business logic statement in the first row as If (or when) the policy manual override is yes, then the renewal method is manual. Or you could read row three in the Rule Family for Policy Tier Within Bounds to say, If the policy tier is less than or equal to 2, and the policy discount is greater than 20, then the Policy Tier is not within bounds. It may be interesting for readers experienced in business rules (and perhaps even or especially! those that are not) to analyze the Rule Family for Policy Tier Within Bounds shown in Figure 2. We hope that only a brief analysis should show you that this Rule Family is incomplete and is clearly missing rows. The value of the principles of the Decision Model is that they give you a set of tools to analyze the logic of the Rule Families to a much greater degree than this simple example. They allow you to analyze populated Rule Families for completeness, inferential integrity, and to normalize them to the three levels of normalization. This ensures that the structures are Predictable: Two different analysts sent to gather business rules from a business group arrive at an identical set of business rule structures, and two different programmers sent to implement those rules into code would arrive at identical code structures; Stable and Normalized: A particular business rule belongs in only one place and in the right place in the decision model structure, ensuring the integrity of the Decision Model; Maintainable: If the business rules were changed, or some business rules were added to (or removed from) a given decision, changes are often made as simply as data rows are added to (or removed from) a data table; Aligned with Business: Correlated to business motivations and metrics. The benefits that flow from using the Decision Model to separate the business rules, and manage them, are very significant. They extend into many areas of management and information technology practice, such as BPM, decision management, architecture, and software development. Yes, it is true that managing your business rules is difficult but managing your decisions is practical, and could be very rewarding for both business and IT. To discover more details on the Decision Model, you can download a primer that contains the essential details on the model at www.thedecisionmodel.com. To explore the Decision Model in full, including its role in the many disciplines it impacts, and to get a start in methodologies that support it, we recommend that you read the book, also obtainable from that site. Portions of this article are drawn from the book, The Decision Model: A Business Logic Framework Linking Business and Technology, von Halle & Goldberg, 2009 Auerbach 5

Publications/Taylor & Francis, LLC. This article consists, in part, of abstracts from the book; directly quoted passages, diagrams, and tables are cited, and are copyright 2009 Auerbach Publications/Taylor & Francis LLC. Reprinted with the permission of the Publisher 6