Declarative vs Procedural Decision Modeling

Declarative vs Procedural Decision Modeling

The ultimate objective of Business Decision Modeling can be described as follows:

A business analyst (subject matter expert) defines a business problem, and a smart decision engine solves the problem by finding the best possible decision.

Declarative decision modeling assumes that a business user specifies WHAT TO DO and a decision engine figures out HOW TO DO it. This is quite opposite to the Procedural approach frequently used in traditional programming.

As a community of Business Rules and Decision Management vendors and practitioners over the last 15 years we made dramatic progress in this direction. But, are we happy with where we are today? Do our rule and decision engines are smart enough or they still ask too much from our business users? These questions came up several times during DecisionCAMP-2022 which is a part of the larger event symbolically called Declarative AI.

For example, in my presentation I demonstrated good, bad, and ugly solutions for a real-world problem. But even my “good enough” solution forced a business user to define several nested loops. OK, OpenRules allowed me to present those loops in a nice table format, but it still doesn’t sit well with me. So, I asked the question: Was it really necessary to use these loops? By using similar decision modeling constructs (many of which are included in the DMN standard) we force our users to procedurally specify HOW to find a decision. Contrary to our initial objective.

During the DecisionCAMP’s expert panel, I raised the question: “Are our engines smart enough?” You may watch this discussion and make your judgement about the answers. In general, the experts believe that today we still have plenty of low-hanging fruits for our “smart enough” decision engines. After these discussions I decided that it is not enough to raise questions or just talk about the future of decision engines. I need to demonstrate their potential capabilities using concrete examples. So, you may read my new post below in which I described several examples and possible approaches to creation of smarter decision engines for declarative decision modeling.

https://openrules.wordpress.com/2022/10/05/decision-modeling-declarative-vs-procedural/

To view or add a comment, sign in

More articles by Jacob Feldman, PhD

  • AI-Friendly Decision Services

    LLMs aren't decision-makers — at least not yet. But they've proven to be remarkably effective translators between…

  • OpenRules AI Agent “Inside/Outside Production”

    This AI agent helps manufacturers determine the optimal mix of internal production and external sourcing for each…

  • Agentic Medical Services - OpenRules Solution

    DMCommunity.org has posted a new April 2026 Challenge that aims to explore how LLMs orchestrate rule-based decision…

    13 Comments
  • Peter Norvig about LLMs

    In December 2009, Peter Norvig—then Director of Research at Google—delivered his lecture “The Unreasonable…

  • Decision Modeling and Retro-Analysis

    Nine years later, my article “Raymond Smullyan’s Retro-Analysis and Decision Modeling” still sparks interesting…

  • New Tools and Skills Shift

    Nowadays, we hear a lot about a strong historical parallel between AI transforming software development today and…

    4 Comments
  • Decision Models with Probability Constraints

    It is common for decision models to differentiate between hard and soft rules (constraints). Soft constraints (or…

  • OpenRules Decision Playground in Action

    Decision Playground is an Interactive Visual Tool for Real-Time Decision Optimization. It Enables Business Users to…

  • From Solvers to Decision Factories

    Constraint and linear solvers have decades of proven success tackling scheduling and resource allocation problems —…

    4 Comments
  • System of Records for Decisioning

    Deepak Jha once again raises a question that deserves repeated attention: "Where's the system of record for judgment?"…

    3 Comments

Others also viewed

Explore content categories