OnWorkflowActivated.WorkflowProperties property

Gets or sets an SPWorkflowActivationProperties object that represents the initial properties of the workflow as it starts, such as the user who added the workflow, and the list and item to which the workflow was added.

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

Syntax

'Declaration
<ValidationOptionAttribute(ValidationOption.Required)> _
Public Property WorkflowProperties As SPWorkflowActivationProperties
    Get
    Set
'Usage
Dim instance As OnWorkflowActivated
Dim value As SPWorkflowActivationProperties

value = instance.WorkflowProperties

instance.WorkflowProperties = value
[ValidationOptionAttribute(ValidationOption.Required)]
public SPWorkflowActivationProperties WorkflowProperties { get; set; }

Property value

Type: Microsoft.SharePoint.Workflow.SPWorkflowActivationProperties

Remarks

The InitiationData property returns a string that represents the custom data provided by the workflow initiation form.

See also

Reference

OnWorkflowActivated class

OnWorkflowActivated members

Microsoft.SharePoint.WorkflowActions namespace

Other resources

Workflow Activities for Windows SharePoint Services Overview

Workflow Initialization in Windows SharePoint Services

Workflow Association and Initiation Forms