ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Workflow.Models Namespace / ConfigurationManager Class / GetAllGroups() Method
Example

In This Topic
    GetAllGroups() Method
    In This Topic
    Gets a list of all groups. This method must be called on the MCT. Use QueuedTask.Run
    Syntax
    public IReadOnlyList<GroupInfo> GetAllGroups()
    Public Function GetAllGroups() As IReadOnlyList(Of GroupInfo)

    Return Value

    A list of GroupInfo for all groups
    Example
    How to get groups
    // GetAllGroups returns a list of Workflow Manager groups
    var wfCon = await WorkflowModule.ConnectAsync();
    var configManager = wfCon.GetManager<ConfigurationManager>();
    var allGroups = configManager.GetAllGroups();
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also