We use cookies, including third-party cookies from Google to serve personalized ads through AdSense, to operate this site and understand how it is used. By continuing to browse, you accept this use. See our Privacy Policy and Terms of Use for details, including how to opt out of personalized advertising.
Accept
SmartData CollectiveSmartData Collective
  • Analytics
    AnalyticsShow More
    Flat editorial illustration: The article is about joining public web signals with internal business metrics so BI teams can inter
    Alternative Data in BI: Bringing Public Web Data Into Your Dashboards
    23 Min Read
    Flat editorial illustration: The article is about automating the collection, preparation, and delivery of marketing data across p
    From Data to Dashboards: 5 Marketing Reporting Automation Software Picks
    12 Min Read
    Flat editorial illustration: The article contrasts passive follower totals with a behavioral path from attention and trust to cli
    Creator Analytics Beyond Follower Count: Seven Metrics That Measure Audience Behavior
    11 Min Read
    Flat editorial illustration: The article connects AI and marketing analytics with managerial judgment grounded in consumer behavi
    How an Online MBA in Marketing Connects AI and Data Analytics
    11 Min Read
    What Kind of Problem-Solving Distinguishes Data Analysts From Software Engineers -- AI-generated illustration
    What Kind of Problem-Solving Distinguishes Data Analysts From Software Engineers
    7 Min Read
  • Big Data
  • BI
  • Exclusive
  • IT
  • Marketing
  • Software
Search
© 2008-25 SmartData Collective. All Rights Reserved.
Reading: Visual Logic and Business Rules: a Picture is worth 1,000 Words!
Share
Notification
Font ResizerAa
SmartData CollectiveSmartData Collective
Font ResizerAa
Search
  • About
  • Help
  • Privacy
Follow US
© 2008-23 SmartData Collective. All Rights Reserved.
SmartData Collective > Business Intelligence > Business Rules > Visual Logic and Business Rules: a Picture is worth 1,000 Words!
Business IntelligenceBusiness RulesDecision Management

Visual Logic and Business Rules: a Picture is worth 1,000 Words!

CMatignon
CMatignon
8 Min Read
Visual Logic and Business Rules: a Picture is worth 1,000 Words!
Illustration generated with Qwen Image.
SHARE

It all started with Spaghetti…  in the late 90′s, Business Rules technology started to become popular based on the premise it would remove the need for spaghetti code.  Those independent statements, which all contribute to checking that an applicant is eligible or that a transaction is possibly fraudulent, could be externalized for easier maintenance.  It quickly turned into the vision that business users would be empowered to maintain that decisioning logic of course.

Contents
  • A practical example
  • Addressing the complexity of exceptions
  • An Epiphany for Carole-Ann!
  • Visual Logic

Over a decade later, we are back to Spaghetti!  Certainly BRMS technology helped significantly reduce the complexity in the software code, leading to much greater agility but……..  we moved the problem from spaghetti code to spaghetti rules!

When I talked to BRMS practitioners, the maturity curve looks something like:

  1. Learning Curve: “But where do I start???”
  2. Bliss: “Wow, this is powerful!”
  3. One step too far: “Oooooh … I have too many rules!”

Business Rules Engines have evolved, as well as infrastructure, allowing for execution of very large decision services in very little time.  Runtime performance is not much of an issue.  The issue with Spaghetti is really the understandability of decisioning logic.

More Read

Collaboration Between Teams Using the Same Data in Different Ways
Collaboration Between Teams Using the Same Data in Different Ways
How Artificial Intelligence Puts James Bond Tracking Tools In Your Home
The True Value of the Private Cloud [INFOGRAPHIC]
Dear Oracle: Cloud Multitenancy DOES Matter
10 Financial Apps Empowered by AI: Assistants and Agents

As a subject matter expert, the temptation is great to keep adding business rules into the pot.  After all, it is what business rules are for: they allow you to manage those rules independently and let the engine worry about execution. The problem comes when the number of business rule grows beyond your ability to cope intellectually.

A practical example

You might start with a rule for credit score requirement on a mortgage product, e.g. “Credit score must be at least 650″.

Then comes segmentation based on the loan amount.  A jumbo loan only applies if the loan amount is greater than $417k but above this threshold, we could have increasing strict requirements for credit worthiness.  For example, 650 might be required for a Jumbo loan but you would want at least 700 for any Jumbo loan above $1M.  I am making those up of course.

Then, with still high rates of foreclosure, you may further discriminate the requirements based on neighborhoods that have been particularly affected, based on actual appraised value of the property, based on prediction of job stability…

Before you know it, your decision service for Jumbo loan origination is turning into thousands of rules.  The only way to wrap your head around the volume of rules is to stop thinking about them and have the computer think instead…  This is where automated verification and validation can take over and pinpoint anomalies such as gaps and overlaps.

The issue with this paradigm is that you really want to leverage the expertise of the skilled knowledge worker.  It is critical to provide him/her the opportunity to understand so they can contribute and improve the quality of the decisioning.

Addressing the complexity of exceptions

Carlos described in his own words the challenge of exceptions that pollute clean decision services.  I also covered the importance of User Experience in the past.  Those are critical aspects that help cope with complexity.  If you can identify the best graphical representation and you can structure your knowledge, break it down into chunks, then you can push the limit of what volume you can understand.

The issue is that a single representation may not be appropriate for all people at any point in time in the decision management life-cycle.

Let me illustrate.

The first point we beat to death in the past…  You start with a decision table then get exceptions after exceptions and your table ends up being too large for visualization and full of holes.  It can’t work any longer.  The same could be said for any representation, there is a point at which any will break.

An Epiphany for Carole-Ann!

The point we have not yet discussed much is life-cycle.  I am not referring here to the traditional Governance Process but rather the fact that business rules have a life-cycle of their own and the activities involving them are quite diverse.  It only occurred to me in the past year or so that my needs for looking at business rules keep changing based on my role as a user in addition to the nature of those business rules.

  1. Before I start, I need to understand the whole decision service and what piece of decisioning can be improved and how
  2. When I author the rule, I only care about that one rule and its test cases to make sure it does what I want it to do
  3. After it is unit-tested, the rule needs to be tested in aggregation in the whole decision service; this is where I want to understand interdependencies between the rules
  4. When it is ready for approval, I want to ensure it is compliant with my business objectives and corporate guidelines / industry regulations

As such, looking at a Decision Table makes a lot of sense when you have regular rules for which you need to change range limits.  It is also very good when you want the visual validation that all rules are consistent: the higher the age, the lower the risk for example.  But if I want to add an exception that refers to a brand-new attribute, I would likely prefer to add nodes in a Decision Tree.  If I am focusing on a specific use case, I do not care about the whole table or tree and I only want to see the rules that apply to that one use case.  If I am the Compliance guy, I may only care about negative outcomes and ensure that we did not apply logic that conflicts with regulations.

The fact is that the nature of the user interface is NOT ONLY applicable to the type of rules that you have…  but it is ALSO a function of the task at hand.

As a result, Tom and Mary may need to interact with different perspectives of the same piece of logic at the same time because they are involved in different tasks with different objectives.

Visual Logic

We have called this concept Visual Logic as it refers to the ability to visualize the logic for the best understanding, the best interaction at the time.  One person we talked to said, “It is like Business Intelligence on rules”.  I think this is very true.  There is a real need for better intelligence on the knowledge before, during and after its automation.

I’d love to hear from you whether you had your epiphany much sooner than me and how you have been dealing with those challenges.

Share This Article
Facebook Pinterest LinkedIn
Share

Follow us on Facebook

Latest News

Flat editorial illustration: The article is about joining public web signals with internal business metrics so BI teams can inter
Alternative Data in BI: Bringing Public Web Data Into Your Dashboards
Big Data Business Intelligence Exclusive Web Analytics
Flat editorial illustration: A SaaS-editorial scene showing product usage, support patterns, and renewal feedback informing a fle
Using Product Usage Analytics and Support Data to Build a B2B Product Roadmap
Business Intelligence Infographic
From Hiring To Payroll: Managing HR Data Across Business Systems -- AI-generated illustration
From Hiring To Payroll: Managing HR Data Across Business Systems
Big Data Business Intelligence Infographic
Flat editorial illustration: The article is about automating the collection, preparation, and delivery of marketing data across p
From Data to Dashboards: 5 Marketing Reporting Automation Software Picks
Analytics Business Intelligence Exclusive Marketing

Stay Connected

1.2KFollowersLike
33.7KFollowersFollow
222FollowersPin

You Might also Like

5 Ways Technology And AI Are Changing The Gaming Industry
Artificial IntelligenceExclusive

5 Ways Technology And AI Are Changing The Gaming Industry

6 Min Read
The Netflix Prize and Freeing Data Analytics
Business IntelligenceData Visualization

The Netflix Prize and Freeing Data Analytics

6 Min Read
Using AI to Build a Successful Multilingual Website in 4 Steps
Artificial Intelligence

Using AI to Build a Successful Multilingual Website in 4 Steps

7 Min Read
Can Business Intelligence Help You Manage Your Workforce Better
Business IntelligenceDecision Management

Can Business Intelligence Help You Manage Your Workforce Better

6 Min Read

SmartData Collective is one of the largest & trusted community covering technical content about Big Data, BI, Cloud, Analytics, Artificial Intelligence, IoT & more.

The Art of Conversation: Enhancing Chatbots with Advanced AI Prompts
The Art of Conversation: Enhancing Chatbots with Advanced AI Prompts
Chatbots
ai chatbot
How AI Website Chatbots Improve Customer Support and Lead Generation
Chatbots Exclusive

Quick Link

  • About
  • Contact
  • Privacy
Follow US
© 2008-26 SmartData Collective. All Rights Reserved.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?