Modernization of Application Business Logic
Today, legacy modernization initiatives are everywhere. The need to modernize legacy code and systems in order to transform businesses is often a requirement, and the stakes can be high. An enterprise may feel extreme business pressure to operate like its smaller, more agile competitors. However, modernization is a huge endeavor, especially when dealing with a 10+ year old legacy system. This can include modernizing the user interface, architecture, API, database, and core business logic. In this post, I’m going to focus on one aspect of modernization: recreating core business logic in a new system or service.
You can think of “core business logic” as the decisions that a system makes as it processes transactions. For example, the core business logic of a legacy insurance underwriting application might include decisions such as the following:
- Is the applicant is eligible for coverage?
- What level of risk does the applicant bring?
- Should we approve, deny, or refer the applicant?
- What premium should we charge the applicant?
Modernization of those decisions would involve a recreation of the core business logic on a modern, agile platform that can meet today’s business needs and can support agile business analysis. In this post, I’ll cover two different approaches to modernization of the core business logic: code-focused and decision-focused.
Code-Focused Legacy Modernization Approach
More often than not, organizations and their consulting partners, will take a “code-focused” approach to modernizing business logic functionality. In a nutshell, organizations convert and migrate legacy code from the legacy system to the new system. Using various tools, organizations assess the legacy code, uncover core business logic, convert the logic, and test the new logic.
While this approach is common practice, it has two significant limitations: the resulting code, like in the legacy system, is difficult to manage and difficult to evolve. As a result, organizations are stymied from fully realizing the benefits of the new system and achieving the goals of the modernization initiative.
Managing Spaghetti Code
Older system architectures are less functionally modular than today’s microservice architectures. Most legacy systems were built as monolithic applications or client-server systems. The core business logic in these systems was likely based upon procedural or object-oriented design and scattered throughout functions or methods in COBOL, C, or C++ code.
In addition, legacy systems weren’t built for change. But organizations do change. Therefore, legacy systems were forced to change, often incrementally and through band-aid fixes. As a result, the code inside these legacy applications is complex, and unnecessarily so if the logic were built from scratch today. Simply converting this code would be like upgrading store-brand pasta to pasta imported from Italy. At the end of the day, you still end up with bowls of spaghetti that are challenging to disentangle. Managing this code will still require significant IT resources.
Decision-Focused Legacy Modernization Approach
Alternatively, a decision-focused approach enables organizations to both simplify management of core business logic and enable continuous improvement and updates to that logic. Decision management, the discipline and technologies for managing automated decisions in systems didn’t exist when many of the legacy systems were built. Decision management platforms enable organizations to organize core business logic in terms of decisions. In other words, organizations can manage core business logic in a manner that is intuitive to how they address business problems. These decisions are then deployed to a decision service and integrated into modern architectures through a REST API. As a decision service, the decision logic can be scaled to many different applications. In addition, decision management platforms enable decision logic to be managed on its own lifecycle. Therefore, updates to the logic can be made when needed without needing to change the systems that use it.
In addition, modern decision management platforms like SMARTS™ enable organization to leverage data and analytics to both author and improve decision logic. Going back to the insurance example, an organization can isolate the approval decision logic for an underwriting application, rewrite the business rules in manner that is easy for the business side of the organization to understand, and test the results in the decision management platform (which will eventually be the new system) and compare it to the legacy system. More often than not, this approach will enable you to catch errors that have been persisting in the legacy system.

Comparing Approval Decisions Between Systems
Decision Management Benefits
In summary, a decision management platform enables organizations to modernize their core business logic in a manner that is:
- Understandable by the business
- Easy to manage and update
- Highly scalable
While decision management may not completely replace code conversion, it should be part of your toolkit to achieve successful modernization. When core business logic represents operational decisions that occur in high frequency and volume and is likely to change, decision management will be the best route. Your future self will thank you for it.
Learn more about Decision Management and Sparkling Logic’s SMARTS™ Data-Powered Decision Manager

