OnWorkflowActivated class
SharePoint 2013
Defines a workflow activity that is used to respond to the ISharePointService.OnWorkflowActivated event.
System.Object
System.Workflow.ComponentModel.DependencyObject
System.Workflow.ComponentModel.Activity
System.Workflow.Activities.HandleExternalEventActivity
Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated
System.Workflow.ComponentModel.DependencyObject
System.Workflow.ComponentModel.Activity
System.Workflow.Activities.HandleExternalEventActivity
Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
An OnWorkflowActivated activity must be the first activity in a SharePoint Foundation workflow.
SharePoint Foundation raises this event activity when a workflow is initiated for a SharePoint item. This activity initializes the correlation between the workflow id and the correlation token.
The OnWorkflowActivated event is valid only as the first activity in a workflow. SharePoint Foundation ignores OnWorkflowActivated activities placed at any other position in the workflow.