Question

3
Replies
37
Views
ChakriP8 Member since 2014 62 posts
Accenture
Posted: 4 months ago
Last activity: 4 months 2 weeks ago

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)

 

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****

Pega Platform 8.3.1 Data Integration Solutions Consultant
Share this page LinkedIn