Click to Rate and Give Feedback
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
This page is specific to
The 2007 product release

Other versions are also available for the following:
OnWorkflowActivated Class (Microsoft.SharePoint.WorkflowActions)
Responds to the event Windows SharePoint Services raises when a new workflow instance is initiated for an item.

Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in microsoft.sharepoint.workflowactions.dll)
Visual Basic (Declaration)
<ActivityToolboxDisplayAttribute("VSTTSharePointWorkflow", True)> _
<ToolboxItemAttribute(GetType(ActivityToolboxItem))> _
<ToolboxBitmapAttribute(GetType(OnWorkflowActivated), "Resources.OnWorkflowActivated.bmp")> _
Public NotInheritable Class OnWorkflowActivated
    Inherits HandleExternalEventActivity
Visual Basic (Usage)
Dim instance As OnWorkflowActivated
C#
[ActivityToolboxDisplayAttribute("VSTTSharePointWorkflow", true)] 
[ToolboxItemAttribute(typeof(ActivityToolboxItem))] 
[ToolboxBitmapAttribute(typeof(OnWorkflowActivated), "Resources.OnWorkflowActivated.bmp")] 
public sealed class OnWorkflowActivated : HandleExternalEventActivity

An OnWorkflowActivated activity must be the first activity in a Windows SharePoint Services workflow.

This activity responds to the ISharePointService.OnWorkflowActivated event. Windows SharePoint Services 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. Windows SharePoint Services ignores OnWorkflowActivated activities placed at any other position in the workflow.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker