basics · dmn · kogito · Rules

Get started with cloud-native decision automation on Quarkus

Development of decision automation solutions has never been so simple, thanks to DMN (Decision Model and Notation), Kogito and Quarkus.

Why DMN? And why Kogito + Quarkus?

To list some reasons why this is the way to go for decision automation development, this powerful stack allows users to:

  • Automate decisioning using a well-stablished industry standard, DMN, which not only keeps users free of vendor lock-in but also allows for an effective development process:
    • the graphical visualization of the decisions allows for business users and analysts to get involved more deeply in the application development and validation;
    • although represented in a visual manner, such decisions can be executed by lightweight and powerful engines like Kogito and Drools;
    • the expression language FEEL (Friendly Enough Expression Language) facilitates not only the development but positively impacts readability and, consequently, maintainability of such rules.
    • decisions can be handled just like any other piece of code, being part of an application that is created, developed, packaged and delivered as all other application with no further requirement of a robust or complex platform;
    • development can be made in developer IDEs and free online editors;
  • Leverage the best of Quarkus capabilities like ultra-lightweight applications, fast startup time, native compilation (using Mandrel or GraalVM) and the increased developer productivity – including hot reload features for business assets;
  • Save time by leveraging Kogito auto generation capabilities of domain-driven REST endpoints for business assets;
  • Have a simplified development of event-driven services where all you need to deliver an event-driven decision service is your project, your decisions and a couple of lines in the application configuration file – no more glue code;

Get started now

I’ve been working with some colleagues (experts like Donato Marrazzo) on a free getting started guide for those willing to try out Kogito technologies and who seek to learn more about DMN. Check it out:

Getting started guide for business automation with Kogito and Quarkus

In this video you can see the implementation of the first getting started experience:

Getting started with decision services with Quarkus and Kogito

In the getting started guide you will find:

  • How to prepare a local development environment to start learning;
  • Getting started with decision automation: create your first decision service and see how easy it is to develop decisions when you have hot reload capabilities; package, run and try your application locally; deploy on the cloud using a free OpenShift environment; create an event driven decision service from scratch;
  • Guided exercises about DMN to help you getting started, plus, challenges to help you upskilling;
  • Getting started guide for developing rules based on DRL, using the new Rule Unit concept;
  • (Under development) Getting started guide for kogito processes

This is an open-source project and contributions are welcome through PRs here.

Don’t hesitate to reach out if needed be 🙂

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s