<div>Hi,</div>
<div>&nbsp;</div>
<div>I&nbsp;have one more qurey on &#39;OR&#39; logical operator for the following scenario: </div>
<div>&nbsp;</div>
<div>I want the the boolen result from parent object which satisfies two different condition sets with child objects. I made the rule which is generated duplicated</div>
<div>&nbsp;</div>
<div>results if both conditions are satisfied. </div>
<div>&nbsp;</div>
<div>rule &quot;test&quot;</div>
<div>when</div>
<div>order: Order</div>
<p>(<br>&nbsp;<br>&nbsp;&nbsp; exists ( condition-1 with child objects)<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; or <br>&nbsp;&nbsp; <br>&nbsp;&nbsp; exists (condition-2 with child objects)</p>
<p>)</p>
<p>then </p>
<p>&nbsp;&nbsp;&nbsp; SOP(&quot;order id &quot;+order.getId());</p>
<p>result : </p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; order id 1000</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; order id 1000</p>
<p>&nbsp;</p>
<p>return the results in twice if both the conditions (cond-1 &amp; cond-2) are satisfied. It just combine <br>both results and behaves like &#39;union all&#39; instead of &#39;union&#39; function.</p>
<div><br>Please provide me your suggestion on this.</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>regards,riyaz<br>&nbsp;</div>