Skip to content
Introducing Aletyx Decision Control — Enterprise decision management with governance and multi-environment deployment ×

DMN™ and DRL Lab

For the first part of getting started with DMN, we’re going to start with using Aletyx Playground to start building a simple DMN model.

DMN Problem statement

In this example, we will create a decision service that determines the number of vacation days assigned to a given employee. The number of vacation days depends on age and years of service.

  • Every employee receives at least 22 days.
  • Additional days are provided according to the following criteria which will be broken into separate decision nodes:

Case-1:

  • Only employees younger than 18 or at least 60 years, will receive 5 days of vacation
  • Employees with at least 30 years of service will receive an 7 extra days

Case-2:

  • Employees with at least 30 years of service get 4 more days and also employees of age 60 or more, receive 3 extra days, on top of possible additional days already given

Case-3:

  • If an employee has at least 15 but less than 30 years of service, 3 extra days are given.
  • Two days are also provided for employees of age 45 or more.
  • These extra days can not be combined with the 5 extra days.