<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi - <br> 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.<br><br>Example:<br>{"batch-execution": { "lookup":"ksession12", "commands": [ { "insert": <continued....><br><br>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?<br><br>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.<br><br>thanks<br>                                            </div></body>
</html>