Sequential Mode with Sequential or Dynamic Agenda
by Shyam, Pallav (MSCIBARRA)
Hi All,
I am trying to figure out when to use Sequential Mode.
Also, what does SequentailAgenda.SEQUENTIAL and SequentialAgenda.DYNAMIC
means.
rule "asset > 1000"
when
s : Security( status == "NOT VALIDATED", country == "USA", asset
> 1000)
then
s.setStatus("VALIDATED");
end
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.
Thanks.
Pallav Shyam
MSCI Barra
--------------------------------------------------------
NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.