0 Replies Latest reply on May 20, 2008 10:35 PM by Nicolai Abruzzese

    NewBie...DRools Search a List?

    Nicolai Abruzzese Newbie

      I'm having some trouble to write drools, if some one could give a hand, would be appreciated

      I have two simple lists of users and profiles

      I need to get all  profiles for a User

         Long id;
         String name;
         Long profId;
         Long userId;

      Let say I need to get all profiles of a user that has id equal to 1

      User( id = Profile ( profId == 1))

      ??? Dosen't work?