Hi -
Following the documentation I have setup a RESTful endpoint at which to call
drools from Ruby. I have a use case where I need to generate somewhat "dynamic"
rules because each user can configure their rules in a certain way. To
accomplish this I have made rule files with unique names (these do not change
often, example: 12.drl), and have setup multiple ksession ids, kbase ids that
load the different drl files. I name the ksession with the rule name (example:
ksession12) and use a lookup in my JSON to direct to the correct rule.
Example:
{"batch-execution": { "lookup":"ksession12", "commands": [ { "insert":
<continued....>
My question is this is not working for multiple users. The first user will work
correctly and return the executed rule. However the second user (if I switch
the lookup) seems to do nothing - not even log the debugging content. I have
been through the documentation and am unable to find what I am doing wrong. Can
anyone point me in a direction?
I am looking to have multiple rule files and decide based on the lookup what to
run. I assume this is pretty basic, but cannot find the right document that
talks to it.
thanks
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users