Slow enumerate resources activity RRS feed

  • Question

  • Hi all,

    I've built a custom workflow for a customer that takes a template that's assigned to a user on creation and enumerates all groups which has this template as a member, adding the user to the same groups.

    It works fine, but it's horrendously slow.  In their environment of 6688 groups and 39543 users, it's taking around 30 minutes to complete the workflow.

    Running the same XPath in Powershell is just as slow, unless I specify -OnlyBaseResources on Export-FIMConfig, in which case it completes the enumeration in around 20 seconds.  There's no way of doing the same in the workflow activity, is there? Any suggestions as to how to make it quicker?  I'm leaning towards using Craig Martin's (excellent) Powershell activity to do the same, just so I can specify the -OnlyBaseResouces option.

    Thanks in advance.


    Friday, June 10, 2016 10:06 AM

All replies