That was going to be my question -- I see activations created, but not
fired.
On 3/14/06, Lionel Port <[EMAIL PROTECTED]> wrote:
>
> Russell,
>
> 1. I believe higher salience values fire first, so your salience values
> are
> in the wrong order.
> 2. May sound stupid but are you calling WorkingMemory.fireAllRules(). The
> activation are created as you assert objects but the consequence is not
> fired until fireAllRules is called.
>
>
> On 3/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > Guys:
> >
> > What I can prove now is the second rule is not firing...... Is
> anyone
> > chaining rules together?
> >
> > I show in the flow the second rule is being aserted:
> >
> > [ConditionTested: rule=AuditTask; condition=[Condition:
> > taskVO2.getStatus().equalsIgnoreCase("OPEN") == true]; passed=true;
> > tuple={[]}]
> > [ConditionTested: rule=AuditTask; condition=[Condition:
> > taskVO2.getTaskType().equalsIgnoreCase("ADFPAYCHK") == true];
> passed=true;
> > tuple={[]}]
> > [ConditionTested: rule=AuditTask; condition=[Condition:
> > taskVO2.containsIdentifier("CONTRACT", "S#1234567890") == true];
> > passed=true; tuple={[]}]
> > [ActivationCreated: rule=AuditTask; tuple={[]}]
> >
> > Yet, I have placed a System.out.println within the <java:consequence>
> > tag. It is not getting this far.......as it never prints out. I have
> done
> > the same step in the first rule and the statement is printed.
> >
> > Any suggestions or debug steps would be greatly appreciated.
> >
> >
> > Russ
> >
> >
> >
>
>
--
Geoffrey Wiseman