← All challenges

Card Approval Decision

October 2021

financebusiness-rules

Build a decision model that produces a credit card approval decision. A “Standard Card Score” is computed from Annual Income and Assets, and the application is auto-approved once that score clears a threshold of 350. The score table itself depends on today’s date — some scores changed as of January 1, 2022:

Annual IncomeAssetsStandard Card Score
< 50< 100312 before 2022-01-01, 350 on/after
< 50100–350458
< 50> 350603
50–80< 100416
50–80100–350562
50–80> 350707
80–100< 100468
80–100100–350614
80–100> 350759
≥ 100< 100520
≥ 100100–350645
≥ 100> 350811

Model the decision requirements — a “Date Validity” input feeds the score calculation, which together with Annual Income and Assets drives the automatic approval decision — and implement the approval logic, paying particular attention to how the score table itself depends on the current date. This problem and a DMN-based solution were originally proposed in a Red Hat blog post about handling effective and expiry dates in DMN decisions.

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

Solutions