Hi,
Could anyone tell me what will be the syntax to check for a list in the drl file.
For ex:
If the user object contains userid (userId) and list of privileges (privilegeList) values can be User Privilege or Admin Privilege.
I want to create 3 rules :
privilegeList.contains("User Privilege ") && privilegeList.contains("Admin Privilege") first rule
privilegeList.contains("User Privilege ") second rule,
privilegeList.contains("Admin Privilege") third rule,
can this be done in Drools?
Thanks,
Lindy