One of our courageous testers asked how to run a report for 100,000 customers using our thinking service.
The easy answer is this:
rule generate-report
when (and (customer ?x) ....)
rising +(report detail facts)
end
Then of course any client who wants to show the report would be sent the facts for the customer of their choice.
That's an easy answer, but it has a horrific side-effect: the entire think cycle would freeze during that 'when' clause. Hundreds of thousands of bindings would be created. Read more »