Difficulty: beginner
Estimated Time: 30-60 minutes

Red Hat Decision Manager is a highly powerful, extremely fast and lightweight Decision Management and Business Rules platform. It can be used in a vast array of scenario's and support multiple deployment topologies. More information on Red Hat Decision Manager can be found on the Red Hat Website or the website of the Red Hat Developer Program

In this course you will learn how to create your first Decision Model & Notation (DMN) based Decision Service on Red Hat Decision Manager. The project will be built in the Decision Manager web-based workbench, that allows both developers and business users (e.g. business analysts) to create, manage and maintain DMN models and decision services. This workbench is called Decision Central. We will deploy and run the rules on the lightweight and cloud-native Red Hat Decision Manager Decision Server on OpenShift.

In this scenario you've learned how to build a DMN-based Decision Service on OpenShift.

We started by defining our project in the Red Hat Decision Manager web-based workbench Decision Central. Next, we created our fist DMN DRD model, in which we defined our data input and decision nodes. We've use a DMN Decision Table to implement the logic of our decision node.

Using the Deployment functionality in Decision Central, we were able to compile and package our DMN model in a Deployment Unit (KJAR) and deploy it on a Decision Server running in OpenShift

Finally we tested our rules using the Swagger UI provided by the Decision Server.

Red Hat Decision Manager supports many more use-cases and scenarios. Please consult the various online resources (manuals, blogs, demos, forums, etc.) to continue your Red Hat Decision Manager journey.

DMN with Red Hat Decision Manager on OpenShift

Step 1 of 8

Starting the Decision Central workbench

The Red Hat Decision Manager Decision Central workbench is provided in this Katacoda image and is automatically loaded and started when this scenario is started. Please observe the output of the terminal to verify that the Workbench is available.

It may take a while for the platform to be ready as we are spinning up multiple Decision Manager OpenShift images. When the platform is ready and available, you will see the following message in the terminal:

Waiting for the Red Hat Decision Manager workbench to become available

Enviroment ready!

When the workbench is ready, it can be accessed at: http://dmn-demo-rhdmcentr-dmn-demo.[[HOST_SUBDOMAIN]]-80-[[KATACODA_HOST]].http-proxy.katacoda.com/

Use the following credentials to log in:

  • username: developer
  • password: developer

If all is well, you will be presented with the following screen: