none
FIM Workflow for Group management RRS feed

  • Question

  • 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.

    Wednesday, June 10, 2015 10:58 AM

All replies

  • 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.

    Bob Bradley (FIMBob @ TheFIMTeam.com) ... now using FIM Event Broker for just-in-time delivery of FIM 2010 policy via the sync engine, and continuous compliance for FIM

    • Proposed as answer by UNIFYBobMVP Friday, June 19, 2015 3:17 PM
    Friday, June 19, 2015 3:15 PM