<br><font size=2 face="Trebuchet MS">Hi,</font>
<br><font size=2 face="Trebuchet MS">I have a doubt regarding on making
of a rule.</font>
<br><font size=2 face="Trebuchet MS">I have a scenario in which I have
a List of Roles of Person and I want to check role of person to the roles
specified in the list.</font>
<br><font size=2 face="Trebuchet MS">So I got stuck how to Iterate through
the list Rules and use them in Rules 'when' part to specify the condition.</font>
<br>
<br><font size=2 face="Trebuchet MS">Like in Java I do the same with Iterator
on the List and then taking each element in the List and then</font>
<br><font size=2 face="Trebuchet MS">checking the Roles in a IF Condition.</font>
<br><font size=2 face="Trebuchet MS">Iterator obj=objList.Iterator();</font>
<br><font size=2 face="Trebuchet MS">while(obj.hasNext())</font>
<br><font size=2 face="Trebuchet MS">&nbsp; &nbsp;{</font>
<br><font size=2 face="Trebuchet MS">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;if((String)obj.next().equalsIgnoreCase(personRole)){</font>
<br><font size=2 face="Trebuchet MS">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;..</font>
<br><font size=2 face="Trebuchet MS">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; }</font>
<br><font size=2 face="Trebuchet MS">&nbsp; &nbsp;}</font>
<br>
<br>
<br><font size=2 face="Trebuchet MS">But I don't know how to do the same
in Rules. Please help me in this.</font>
<br>
<br><font size=2 face="Trebuchet MS">Thanks &amp; Regards<br>
<br>
Pardeep Ruhil<br>
L&amp;T Infotech Ltd<br>
Mumbai<br>
Ph: +919820283884<br>
<b><br>
Larsen &amp; Toubro Infotech Ltd.</b></font><font size=2 color=blue face="Trebuchet MS"><u><br>
</u></font><a href=http://www.lntinfotech.com/><font size=2 color=blue face="Trebuchet MS"><u>www.Lntinfotech.com</u></font></a><font size=2 face="Trebuchet MS"><br>
<br>
This Document is classified as: <br>
<br>
</font><input type=checkbox name=F1_chkbox checked value=on><font size=2 face="Trebuchet MS">L&amp;T
Infotech Proprietary &nbsp; </font><input type=checkbox name=F1_chkbox value=on><font size=2 face="Trebuchet MS">L&amp;T
Infotech Confidential &nbsp; </font><input type=checkbox name=F1_chkbox value=on><font size=2 face="Trebuchet MS">L&amp;T
Infotech Internal Use Only &nbsp; </font><input type=checkbox name=F1_chkbox value=on><font size=2 face="Trebuchet MS">L&amp;T
Infotech General Business &nbsp; <br>
<br>
This Email may contain confidential or privileged information for the intended
recipient (s) If you are not the intended recipient, please do not use
or disseminate the information, notify the sender and delete it from your
system. </font>

<BR>
______________________________________________________________________<BR>