FIM Workflow for Group management

Hi,

We have a requirement wherein when a user who is a Membership manager for a group becomes inactive his groups should be rolled to the respective Group owners and also email notification should be triggered to each group Owner.

For Ex: User A became inactive, and he was membership manager(MM) for 10 groups and 10 groups have 10 different groups Owners. So I need to roll up the MM field to 10 diff group Owners.

I created a set which captures users for whom Employee Status is Inactive. I have a powershell activity in the Workflow that fetches all the groups for which the inactive user was the membership manager and also their respective Group Owners. Now to update the membership Manager field can we iterate through this list in Update Resource WF activity? Or it needs to be done via Powershell? or is there any better way?

Thanks for the help!!

Expecting a response.

June 10th, 2015 6:59am

Here is the way I would approach this:

  1. Create a set 'All inactive users' (you say you have done this) - i.e.
    /Person[not(employeeStatus='Active')]
  2. Create another set 'All groups where the Membership Manager is Inactive' - i.e.
    /Group[MM=/Set[ObjectID='<guid of set#1 above>']/ComputedMember]
  3. Use your PowerShell activity (or maybe simply the Function Evaluator or similar) to create a workflow to:
    a. copy the OWNER reference values to the MM binding on your target Group object; and
    b. send your notification to [//Target/Owner]
  4. Create a Set Transition MPR 'Management of all groups where Membership Managers become inactive is transferred to the Group Owners', with the transition IN set #2 above, and your action workflow #3.
Free Windows Admin Tool Kit Click here and download it now
June 19th, 2015 3:15pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics