Apologies, I solved my own problem after banging my head for a spell.
I just needed to surround the varargs portion of the method arguments
with curly braces { } to force the arguments into an array. The new
consequence clause looks like so:
$explanation.addMessage(1, "%s Quantity = %,d", {$notic
Hey all, I've got a rule in a DRL file that I'm trying to call an object
method that contains a varargs parameter.
The method signature looks like so:
public void addMessage(int displayPriority, String messageFormat, Object...
messageArgs) {
The rule looks like so:
rule "Notice Quantity"
no-loo