Hi,
I have a doubt regarding on making of a rule.
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.
So I got stuck how to Iterate through the list Rules and use them in Rules
'when' part to specify the condition.
Like in Java I do the same with Iterator on the List and then taking each
element in the List and then
checking the Roles in a IF Condition.
Iterator obj=objList.Iterator();
while(obj.hasNext())
{
if((String)obj.next().equalsIgnoreCase(personRole)){
..
}
}
But I don't know how to do the same in Rules. Please help me in this.
Thanks & Regards
Pardeep Ruhil
L&T Infotech Ltd
Mumbai
Ph: +919820283884
Larsen & Toubro Infotech Ltd.
www.Lntinfotech.com
This Document is classified as:
L&T Infotech Proprietary L&T Infotech Confidential L&T Infotech
Internal Use Only L&T Infotech General Business
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.
______________________________________________________________________