Notifications

798 views

Description

When using the is (dynamic) one of my groups filter on a glide list referencing sys_user_group, the condition evaluates to false if the list field has more than one value.

Cause

This is expected behavior as the dynamic filter One of My Groups only expects a single reference and when a glide list field has more than one item it would be sending two references and fail. 

Resolution

You can manually script the condition to check if you are a member of the groups in a Glide List using an array loop.

Here is an example from our Docs on how you can get and loop through the values in a glide list. 
 
Then you need to run each value returned against the isMemberOf() function for your user object.

Article Information

Last Updated:2019-09-12 12:04:31
Published:2019-09-12