WorkflowContext.WorkflowInstanceId property

Gets the globally unique identifier (GUID) of the current workflow instance.

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

Syntax

'Declaration
Public ReadOnly Property WorkflowInstanceId As Guid
    Get
'Usage
Dim instance As WorkflowContext
Dim value As Guid

value = instance.WorkflowInstanceId
public Guid WorkflowInstanceId { get; }

Property value

Type: System.Guid
A Guid that represents the identifier.

See also

Reference

WorkflowContext class

WorkflowContext members

Microsoft.SharePoint.WorkflowActions namespace