Share via


SPWorkflowExternalDataExchangeService.CurrentWorkflow property

Gets the workflow instance that is running on the current thread.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property CurrentWorkflow As SPWorkflow
    Get
'Usage
Dim instance As SPWorkflowExternalDataExchangeService
Dim value As SPWorkflow

value = instance.CurrentWorkflow
public SPWorkflow CurrentWorkflow { get; }

Property value

Type: Microsoft.SharePoint.Workflow.SPWorkflow
An object that represents a workflow instance.

See also

Reference

SPWorkflowExternalDataExchangeService class

SPWorkflowExternalDataExchangeService members

Microsoft.SharePoint.Workflow namespace