
EimearB.44085 (Customer) asked a question.
I've an OKTA expression written for a SCIM API attribute mapping. It works fine to send the value when the user is assigned to a group but if a user is removed from a group after the initial sync it doesn't send over the else value, how can I ensure this is triggered?
user.isMemberOfGroup("00gf4mdoxkpazkmHR5d7") ? "User" : "Non-User"

Hi @EimearB.44085 (Customer) , Thank you for reaching out to the Okta Community!
As per the Okta Expression Language documentation, this is not supported.
You can suggest a behavior change as a Feature Request on the Okta Community page by going to the Community→ Ideas tab. Features suggested in our community are reviewed and can be voted and commented on by other members. High popularity will increase the likelihood of it being picked up by the Product Team and it being implemented.
More details here.
If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you.
Hope my answer helps!
--
Help others in the community by liking or hitting Select as Best if this response helped you.
Collect them all. Learn a new skill and earn a new Okta Learning badge.