Drools - Having RHS populated dynamically at runtime
----------------------------------------------------
Key: JBRULES-1802
URL:
https://jira.jboss.org/jira/browse/JBRULES-1802
Project: JBoss Drools
Issue Type: Task
Security Level: Public (Everyone can see)
Components: All
Reporter: shikha aggarwal
Assignee: Mark Proctor
Hi,
I am new to Drools and trying to evaluate it for my application. We are trying to
implement an alert engine integrated with an event platform.
user has set a subsription Rule -
When balance < 2000$ send me an alert
When balance > 5000$ send me an alert
when the alert engine recieves an event for example -
user X has a balance of 1000$ in his account.
I need the Drule to have the RHS defined dynamically and the values injected from
datbase.
For example -
When balance > {amt}
When balance <{amt2}
I would want the amt and amount 2 to be injected at runtime before firing rules. I
understand that I can use globals? but is there a way to retract them or does Drules
provide a way in which the RHS can be integrated with database?
Thanks
Shikha
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira