Few more questions related to sequential mode in stateless session:<br><br>1. Can we insert objects in the RHS of the rule and these objects can be used in the LHS of another rule ?<br>2. Can anyone provide use case for sequential mode stateless session ?<br>
3. Can I have a high salience rule which inserts fact using <b>insert </b>keyword and that fact can be used in the LHS of another rule with low salience.<br><br><div class="gmail_quote">On Wed, Oct 20, 2010 at 12:43 PM, Swindells, Thomas <span dir="ltr">&lt;<a href="mailto:TSwindells@nds.com">TSwindells@nds.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I&#39;ve not used it but from what I understand:<br>
Sequential mode:<br>
1. Insert facts<br>
2. Create activations.<br>
3. Fire all activations.<br>
4. Done.<br>
<br>
None Sequential (Standard) mode:<br>
1. Insert facts.<br>
2. Create initial activations.<br>
3. Pop and fire highest salience activation.<br>
4. Update activations (if update, retract etc was performed).<br>
5. If there are more activations goto 3.<br>
6. Done.<br>
<br>
They key difference is that in the standard mode rule consequences can activate and deactivate activations as they update the working memory.<br>
<br>
Thomas<br>
<div><div></div><div class="h5"><br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a> [mailto:<a href="mailto:rules-users-">rules-users-</a><br>
&gt; <a href="mailto:bounces@lists.jboss.org">bounces@lists.jboss.org</a>] On Behalf Of Wolfgang Laun<br>
&gt; Sent: 19 October 2010 22:34<br>
&gt; To: Rules Users List<br>
&gt; Subject: Re: [rules-users] Stateless K-Session but no Sequential Mode<br>
&gt;<br>
&gt; Indeed I have, and I&#39;ve read it down to the last paragraph:<br>
&gt; &quot;Sequential mode can only be used with a Stateless Session and is off<br>
&gt; by default. To turn it on, either call...&quot; This tells me about a<br>
&gt; StatelessKnowledgeSession WITH sequential mode.<br>
&gt;<br>
&gt; So, what if I create a StatelessKnowledgeSession from a KnowledgeBase,<br>
&gt; but do not turn sequential mode on?<br>
&gt;<br>
&gt; Best<br>
&gt; -W<br>
&gt;<br>
&gt;<br>
&gt; 2010/10/19 Michael Anstis &lt;<a href="mailto:michael.anstis@gmail.com">michael.anstis@gmail.com</a>&gt;:<br>
&gt; &gt; No doubt I&#39;m missing the point but have you seen &quot;3.3.7.1. Sequential Mode&quot;<br>
&gt; &gt; in Expert&#39;s documentation?<br>
&gt; &gt;<br>
&gt; &gt; On 19 October 2010 21:27, Wolfgang Laun &lt;<a href="mailto:wolfgang.laun@gmail.com">wolfgang.laun@gmail.com</a>&gt; wrote:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; As I understand the Expert documentation, Sequential Mode has to be<br>
&gt; &gt;&gt; turned on, even with a Stateless Knowledge Session to achieve all the<br>
&gt; &gt;&gt; shortcuts and speed-ups.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; What the documentation does not tell me (or I haven&#39;t seen it) is the<br>
&gt; &gt;&gt; difference of a Stateless Knowledge Session with and without Sequential<br>
&gt; &gt;&gt; Mode.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Cheers<br>
&gt; &gt;&gt; Wolfgang<br>
&gt; &gt;&gt; _______________________________________________<br>
&gt; &gt;&gt; rules-users mailing list<br>
&gt; &gt;&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; &gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; rules-users mailing list<br>
&gt; &gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; _______________________________________________<br>
&gt; rules-users mailing list<br>
&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br>
<br>
</div></div>**************************************************************************************<br>
This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the <a href="mailto:postmaster@nds.com">postmaster@nds.com</a> and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary.<br>

<br>
NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00<br>
**************************************************************************************<br>
<div><div></div><div class="h5"><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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>-- Harshit Bapna<br><br>