Group Rule Expression Language

Hi All, I have been trying to write a group rule which add users to a group who doesn’t have either of the two values in a particular Attribute. I have tried
!(key == value1 || key == value2) - Didn’t work
Can someone help me out on this .
I am looking something similar to – [ key NOTIN { “value1”, “value2”} ]
TIA.

Use the following expression in your group rule:

!(user.attributeName == "value1" || user.attributeName == "value2")

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.