ISharePointService.OnWorkflowActivated event

Raised when the workflow instance is first initiated.

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

[CorrelationAliasAttribute("workflowId", "e.workflowId")]
[CorrelationInitializerAttribute]
event EventHandler<SPActivationEventArgs> OnWorkflowActivated

Every workflow in Windows SharePoint Services must start with an OnWorkflowActivated workflow activity, which handles this event.

This method is used by the OnWorkflowActivated workflow activity in the Microsoft.SharePoint.WorkflowActions namespace.

For more information on workflow initiation, see Workflow Initiation.

When the ISharePointService raises this event, the event parameters are contained in the SPActivationEventArgs class.

Show: