Hi All , <br><br>Can someone please help how can i write a rule for below condition - <br><br>I have Student object which contains List of Courses <br><br>public Class Person <br>{<br> private List<Course> courseList;<br>
}<br><br>public Class Course<br>{<br> private String name;<br> private int duration;<br>}<br> <br>Now lets say the list of course inside person object contains 10 course objects and if one of the course object contain name =="XYZ" and another contain a duration = 20 hours then how i can write a rule for this.<br>
<br><br>Thanks.<br>