pyUserRoles comparison using IsInPropertyList
I am writing a WHEN Rule to look for a particular Role as shown. Property pyUserRoles is of Type ValueList.
@(Pega-RULES:Utilities).IsInPropertyList("Admin", AccessGroup.pyUserRoles)
The WHEN Rule compiles, but fails at run time (by throwing a stacktrace). Any pointers would help.
***Edited by Moderator Marissa to update Platform Capability tags****