I can only tell you that I find it preferable to exercise session control from a "single side". If it is from a clp file, then I call the fucntions such as (focus) and (run). If it is from a Java program, the Rete methods are used. I try to avoid having flow control in rules; this tends to sneak up on you and catch you unawares when you aren't looking. ;-) -W
On 11 November 2010 16:59, Donald Winston <satchwins...@yahoo.com> wrote: > But isn't it going to get wiped out during a reset? At the moment I'm using > pooled stateless rule bases (using Rete.peer). So I'll have to set the focus > using the java api and not inside the rule file. I'd prefer not to do this. > > On Nov 11, 2010, at 8:36 AM, Wolfgang Laun wrote: > >> This (focus) call may not have to be in a rule, it can be done before >> calling (run). > > Donald Paul Winston > satchwins...@yahoo.com > > > > > > > > -------------------------------------------------------------------- > To unsubscribe, send the words 'unsubscribe jess-users y...@address.com' > in the BODY of a message to majord...@sandia.gov, NOT to the list > (use your own address!) List problems? Notify owner-jess-us...@sandia.gov. > -------------------------------------------------------------------- > > -------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users y...@address.com' in the BODY of a message to majord...@sandia.gov, NOT to the list (use your own address!) List problems? Notify owner-jess-us...@sandia.gov. --------------------------------------------------------------------