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

In This Topic
    IsConnected Property
    In This Topic
    Gets whether the module is connected to a Workflow Manager Server instance.
    Syntax
    Public Shared ReadOnly Property IsConnected As Boolean
    public static bool IsConnected {get;}
    Example
    Determine if there is an active Workflow Manager connection
    {
      // determine if there is an active Workflow Manager connection
      var isConnected = WorkflowClientModule.IsConnected;
    
      // Use the value of isConnected to determine if you can proceed with Workflow Manager operations
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.1 or higher.
    See Also