rule "asset < 1000 and
no_of_shares > 150000"
when
s : Security( status == "NOT VALIDATED", country == "USA",
asset < 1000, no_of_share > 150000)
then
s.setStatus("VALIDATED");
end
There are 50 more such
rules.
90000 such Security
objects will be inserted in WM as facts and the rules applied. The moment a
Security becomes VALIDATED all other Activations on the same fact should be
cancelled.
Is this example a
candidate for Sequential Mode.
What difference will it
make if I put the set the SequentialAgenda to SEQUENTIAL or
DYNAMIC.