← All challenges

Classify Department Employees

September 2017

business-rulesdmn

A human resources office holds records for every employee in every department — salary, marital status, age, and so on. Build a decision model that, for each department, computes the minimum, maximum, and average salary, along with a count of “high-paid” employees using a threshold rule such as “salary > 85,000.”

The interesting part is representing aggregation over a collection (per-department roll-ups) alongside a simple per-employee classification rule, in whichever business rules or DMN tool you prefer.

Send your solutions to DecisionManagementCommunity@gmail.com, or open a pull request to add yours here.

Solutions