You must separate constraints with a comma:
MyEvent(id == "Backlogged " , source == “SDCS1Site1”)
Do not surround a simple pattern with parentheses:
MyEvent(id == "83020402")
It should be possible to write your rule according to:
(P(...)
or
P(...)
or
P(...))
P(...)
P(...)
-W
On 25 January 2011 12:21, Ayush <ayush.vatsyayan(a)alcatel-lucent.com> wrote:
Hi, Thanks for your reply.
Actually it is lot more complex. Let me present it this way
(
(MyEvent(id == "83020402"))
or
MyEvent()
(Number( doubleValue >= $numberofISGCDBnodes*.50 )
from accumulate( MyEvent( id == 83020401),count()))
or
(MyEvent(id == "83030407"))
)
and
(MyEvent(id == "Backlogged " source == “SDCS1Site1”))
and
(MyEvent(id == "MonitorDataUnavailable" source == “SDCS1Site1”
))
and
(MyEvent(id == "Backlogged " source == “SDCS1”))
and
(MyEvent(id == "DataUnavailable" source == “SDCS2” ))
and
(MyEvent(id == "RepoFail " ))
and
(MyEvent(id == "apiRepoFail" ))
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Implementing-multiple...
Sent from the Drools - User mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users