C_SIGPM_2403 · Question #15
Which Hit Policy will sum or count results?
The correct answer is A. Collect Order. Collect (option A) is the only DMN hit policy that supports aggregation operators, including sum (C+) and count (C#). When multiple rules match, the Collect policy gathers all outputs into a list and can apply these built-in aggregators to produce a single numeric result…
Question
Which Hit Policy will sum or count results?
Options
- ACollect Order
- BPriority
- CRule Order
- DOutput Order
How the community answered
(23 responses)- A70% (16)
- B9% (2)
- C17% (4)
- D4% (1)
Explanation
Collect (option A) is the only DMN hit policy that supports aggregation operators, including sum (C+) and count (C#). When multiple rules match, the Collect policy gathers all outputs into a list and can apply these built-in aggregators to produce a single numeric result.
Priority (B) is wrong - it returns only the single output with the highest-ranked value when multiple rules match, with no aggregation. Rule Order (C) returns all matching outputs in the sequence the rules appear in the table, but it does not perform any math on them. Output Order (D) similarly returns multiple outputs but sorted by output priority rather than aggregated.
Memory tip: Think "Collect = Calculate" - it's the only hit policy that does math. The operator symbols make it concrete: C+ sums, C# counts, C< finds the minimum, and C> finds the maximum.
Topics
Community Discussion
No community discussion yet for this question.