Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Dynamic Memberhsip Notifications
How to send notifications on dynamic groups membership changes
Customer wants notifications for dynamic group membership changes
You cannot catch dynamic group membership changes as MPRs related to
ComputedMember attribute never work (by design)
ALERT: THIS SOLUTION IS NOT TO BE USED FOR GROUPS WITH >10K USERS AS IT WILL SLOW DOWN YOUR SYNC CYCLE
Create a multi-valued reference attribute
AllMembersUnpacked in FIM/MIM Service schema and bind it to group object.
Setup import of group membership from FIM/MIM Service to Metaverse.
Additionally set up export of
Metaverse Group:Members attribute to
Grant permissions to FIM MA to manage this attribute.
The idea is to extract dynamic group membership by importing all members to Metaverse and exporting it back to the portal to
As this attribute is a regular multi-valued reference you can create an MPR
!Notification: welcome new members of dynamic groups watching for additions and removals from this attribute.
Then you simply add a workflow
!Notification: welcome to dynamic group to consume
[//Delta/AllMembersUnpacked/Added] and convert this list of users to recipients list by using Update Resource activity.
ConvertToUniqueIdentifier([//Delta/AllMembersUnpacked/Added]) as a source and
[//WorkflowData/Recipients] as a target.
[//WorkflowData/Recipients] in a standard notification activity.