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

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

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 or higher.
See Also