← All challenges

Order Promotions

January 2018

business-rulesretail

Merchants want to define promotions for sales orders and have a decision model automatically determine which orders qualify. An order consists of line items, each with a known price and quantity; a promotion specifies the minimum quantities of particular items an order must contain to be eligible.

Example promotion: reduce the order total by $3.50 if it contains at least 5 units of item 1108 and at least 4 units of item 2639.

Submit a decision model that determines order-promotion eligibility given an arbitrary list of promotions and an arbitrary order. This challenge was proposed by Jesse Rey of Goya Foods, and turns out to be a good test of how well a tool compares lists of objects against each other.

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

Solutions