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"><<a href="mailto:TSwindells@nds.com">TSwindells@nds.com</a>></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'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>
> -----Original Message-----<br>
> 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>
> <a href="mailto:bounces@lists.jboss.org">bounces@lists.jboss.org</a>] On Behalf Of Wolfgang Laun<br>
> Sent: 19 October 2010 22:34<br>
> To: Rules Users List<br>
> Subject: Re: [rules-users] Stateless K-Session but no Sequential Mode<br>
><br>
> Indeed I have, and I've read it down to the last paragraph:<br>
> "Sequential mode can only be used with a Stateless Session and is off<br>
> by default. To turn it on, either call..." This tells me about a<br>
> StatelessKnowledgeSession WITH sequential mode.<br>
><br>
> So, what if I create a StatelessKnowledgeSession from a KnowledgeBase,<br>
> but do not turn sequential mode on?<br>
><br>
> Best<br>
> -W<br>
><br>
><br>
> 2010/10/19 Michael Anstis <<a href="mailto:michael.anstis@gmail.com">michael.anstis@gmail.com</a>>:<br>
> > No doubt I'm missing the point but have you seen "3.3.7.1. Sequential Mode"<br>
> > in Expert's documentation?<br>
> ><br>
> > On 19 October 2010 21:27, Wolfgang Laun <<a href="mailto:wolfgang.laun@gmail.com">wolfgang.laun@gmail.com</a>> wrote:<br>
> >><br>
> >> As I understand the Expert documentation, Sequential Mode has to be<br>
> >> turned on, even with a Stateless Knowledge Session to achieve all the<br>
> >> shortcuts and speed-ups.<br>
> >><br>
> >> What the documentation does not tell me (or I haven't seen it) is the<br>
> >> difference of a Stateless Knowledge Session with and without Sequential<br>
> >> Mode.<br>
> >><br>
> >> Cheers<br>
> >> Wolfgang<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>
> ><br>
> ><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>
> ><br>
> ><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>
<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>