Hello Droolers,

Here is my Scenario:

public class Parties {
     protected List<Party> party;
     ....
}

public class Party {
    protected IdentificationGroup idGroup;
}

public class IdentificationGroup {
   protected String partyType;
}

I have a collection of "Party" objects in the statefulsession. I want to
find in the collection whether there is a partyType of  "SELLER" .

In Object Graph notation it will be something like
Parites[0].idGroup.partyType is "SELLER". If not found execute the
consequence.

Your help is very much appreciated.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to