ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Workflow.Client Namespace / WorkflowClientModule Class / IsConnected Property
Example Version

IsConnected Property (WorkflowClientModule)
Gets whether the module is connected to a Workflow Manager Server instance.
Syntax
public static bool IsConnected {get;}
Example
How to determine if there is an active Workflow Manager connection
// determine if there is an active Workflow Manager connection
var isConnected = WorkflowClientModule.IsConnected;
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.1 or higher.
See Also