<div dir="ltr">Can you provide screen shots of both DT&#39;s, including their data?<div><br></div><div>It&#39;s quite difficult to understand their content from the pasted text.</div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On 28 April 2014 15:35, swaroop <span dir="ltr">&lt;<a href="mailto:swaroop.oggu@gmail.com" target="_blank">swaroop.oggu@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
Iam using Drools 5.6 , developing rules on guvnor. I have a scenario where i<br>
have two decision tables , One is supposed to execute after the other.<br>
<br>
I want to ensure that DT Two should be executed only after all the<br>
executions in DT one happen . Because IN DT Two the list is being checked if<br>
set of values are not present, currently when i have two Customer objects in<br>
Working memory each having matching rows in Decision Table One .Once the<br>
match is found for a customer object then as per the action a Product fact<br>
is inserted which leads to fire the DT Two and the list is evaluated if set<br>
of d are not present , the rule is fired in DT Two as the list is not<br>
populated for the other customer object and matching rows which is being<br>
checked in DT Two eval list column. Which is not desired . I tried with<br>
salience , ruleflow group with not much of a help<br>
<br>
Is there a way to can handle this<br>
<br>
&lt;<a href="http://drools.46999.n3.nabble.com/file/n4029371/DTIssue.png" target="_blank">http://drools.46999.n3.nabble.com/file/n4029371/DTIssue.png</a>&gt;<br>
<br>
*Decision Table One*<br>
<br>
Condition            Condition             Condition                     Action<br>
c:Customer<br>
a==$param          b in ($param)                 c == $param    &quot;list(Global<br>
Variable).add(d);<br>
<br>
insert(Product())&quot;<br>
*Decision Table Two*<br>
<br>
Condition            Condition                           Condition<br>
Action<br>
p:Product<br>
a==$param          eval(list doesnt not contain ($param))                c == $param<br>
response.setMessage($param);<br>
<br>
Regards<br>
Oggu<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Rule-Orchestration-tp4029371.html" target="_blank">http://drools.46999.n3.nabble.com/Rule-Orchestration-tp4029371.html</a><br>
Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br></div>