ArcGIS Pro 2.8 API Reference Guide
GroupPath Property

ArcGIS.Desktop.TaskAssistant Namespace > TaskInfo Class : GroupPath Property
Gets the path of the task in the task item.
Syntax
public string GroupPath {get;}
Public ReadOnly Property GroupPath As String
Remarks
GroupPath will be empty if the task is not part of a group.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

TaskInfo Class
TaskInfo Members