1 Reply Latest reply on Feb 20, 2009 11:28 PM by Norman Richards

    Understanding Drools rules in seamspace

    Jason Porter Master

      I'm trying to understand the seamspace Drools rules and I'm not sure where some of the items are being put into WorkingMemory.  Specifically Member and MemberAccount.


      For example


      rule CreateFriendRequest
        no-loop
        activation-group "permissions"
      when
        acct: MemberAccount()
        member: Member() //friends not contains acct.member)
        check: PermissionCheck(target == member, action == "createFriendRequest", granted == false)
      then
        check.grant();
      end



      Where are these being added into WorkingMemory?  Also why is there an activation-group?  AFAICT Seam isn't making use of the activation groups with it uses Drools.  Thanks!