When you are implementing complex applications, services (e.g. microservice approach) or business processes, it is always a challenge to share the business logic. With decision-as-a-service, you can simplify the logic of your services, extract the business logic and share it across all of your services, applications and processes in a manageable manner.

The decision-as-a-service platform takes care of everything and makes your business logic (business rules, decisions, flows, etc.) a REST API service that is available in a secure and scalable way.

Once you have extracted the logic, and modeled your business logic (i.e. business rules, decisions, flows, etc.), you are ready to deploy these and let every process in your organisation and all applications leverage them as a single source of truth. So let me guess – you want to deploy them easily, and probably support multiple versions of service? If so, what you need is a Decision-as-a-Service platform!

Decision-as-a-Service is the capability to host different decisions as a service. Specifically, a REST API service for execution, management and monitoring. As we described previously, there are many ways to model your business rules and decisions (e.g. Decision Model and Notation (DMN), tree, decision/rule flow, etc.). One simple way of making any of these decisions and business rules usable is to use a server that hosts them as a service.
Let's consider the following decision that we ran previously:

Decision Model and Notation - DRD sample
To host this as a service, you need to create a package containing this decision and its related rules implementation. You can use visual package builder or a command line (when automation is required) to build your decision (logic) package file.

When you have the package file ready, you can simply browse to Workbench and upload it using your browser:

– at which point you will have the following list in the Decisions section:

Services - [InPrivate] -

As you can see in the picture, the decisions are ready and we have uploaded two different versions of it – Original and New Edition – which have the new policy schedule for a specific time in the future.
Everything is now ready and your business process or application can call to these decisions using REST API interface. For example, you can call them using JavaScript or really any other platforms, technologies and devices.

Book a Custom Demo

First or last name is too short

What to Expect from a Decision-as-a-Service Platform?

Simplicity of deployment and hosting a decision (or any business logic in general) is the key, so this process can be performed automatically (when it is scripted) or manually with minimal training. All of a sudden, your logic (decision, business rules, flow, etc.) will be available for all execution, management and monitoring. And of course, versioning is an integral part of the system, so you need to be able to host multiple versions and schedule these for execution.

Here is the list of very high-level capabilities that this platform offers:

  • Simple deployment (automated and manual)
  • Allowing all technologies, platforms and devices to use centralized decision-making across the enterprise and multiple applications
  • REST API for execution, management and monitoring
  • Multiple versions of a package and logic (e.g. decision)
  • Scheduling decisions for execution based on time frames
  • Ease of environmental space management (e.g. promoting rules from test to the production environment)
  • Managing and configuring different environmental settings (e.g. database connections, etc.)
  • Controlling permissions, security and ownership at a detailed level out-of-the-box
  • Responsive Web-based console for Administration
  • Scalable, event-driven architecture.

To understand more about how you can manage your online business logic (e.g. business rules, decisions, flows, etc.) check https://www.flexrule.com/archives/online-business-rules/

Read More

  1. Synchronize Decision Service
  2. .NET Decision as a Service – REST API Client for .Net
  3. SOA for Business Rules and Logic
  4. Manage Online Business Rules
  5. Decision as a Service
  6. JavaScript Decision as a Service – REST API Client for HTML/JS

Last updated June 4th, 2024 at 01:22 pm Published May 26th, 2015 at 10:38 am