OnWorkflowActivated.WorkflowId property
Returns the GUID that the workflow engine assigns to this workflow instance upon initiation.
Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
<ValidationOptionAttribute(ValidationOption.Optional)> _
Public Property WorkflowId As Guid
Get
Set
'Usage
Dim instance As OnWorkflowActivated
Dim value As Guid
value = instance.WorkflowId
instance.WorkflowId = value
[BrowsableAttribute(false)]
[ValidationOptionAttribute(ValidationOption.Optional)]
public Guid WorkflowId { get; set; }
Property value
Type: System.Guid
Remarks
The WorkflowId properties of each activity in the workflow should be bound to this property.
See also
Reference
Microsoft.SharePoint.WorkflowActions namespace
Other resources
Workflow Activities for Windows SharePoint Services Overview