Microsoft.SharePoint.Workfl ...


EnableWorkflowModification Class (Microsoft.SharePoint.WorkflowActions)
Enables a workflow modification form, so that the modification can be listed as an available workflow modification in the Windows SharePoint Services user interface.

Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in microsoft.sharepoint.workflowactions.dll)
Syntax

Visual Basic (Declaration)
<ToolboxBitmapAttribute(GetType(EnableWorkflowModification), "Resources.EnableWorkflowModification.bmp")> _
<ActivityToolboxDisplayAttribute("VSTTSharePointWorkflow", True)> _
<ToolboxItemAttribute(GetType(ActivityToolboxItem))> _
Public NotInheritable Class EnableWorkflowModification
    Inherits CallExternalMethodActivity
Visual Basic (Usage)
Dim instance As EnableWorkflowModification
C#
[ToolboxBitmapAttribute(typeof(EnableWorkflowModification), "Resources.EnableWorkflowModification.bmp")] 
[ActivityToolboxDisplayAttribute("VSTTSharePointWorkflow", true)] 
[ToolboxItemAttribute(typeof(ActivityToolboxItem))] 
public sealed class EnableWorkflowModification : CallExternalMethodActivity
Remarks

This activity implements the IWorkflowModificationService.EnableWorkflowModification method.

While the workflow modification is enabled, Windows SharePoint Services displays the modification name on the workflow's modification page in the user interface. When the user selects the modification, Windows SharePoint Services launches the modification form, enabling the user to modify the workflow while it is in progress. The indicated form and related completion task are made available as part of the workflow.

Placement of this activity directs where the scope of the modification should be active. When the activity that holds this activity finishes in the workflow, the workflow modification is disabled: Windows SharePoint Services removes the modification name from the workflow's modification page in the user interface.

Inheritance Hierarchy

System.Object
   System.Workflow.ComponentModel.DependencyObject
     System.Workflow.ComponentModel.Activity
       System.Workflow.Activities.CallExternalMethodActivity
        Microsoft.SharePoint.WorkflowActions.EnableWorkflowModification
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also

Tags :


Community Content

Noelle Mallory - MSFT
Bug: modification not being removed after completion

When the activity that holds this activity finishes in the workflow, the workflow modification is disabled: Windows SharePoint Services removes the modification name from the workflow's modification page in the user interface.

It's not doing this for me. After the containing activity is done, the modification name still appears in the UI. Maybe there's voodoo with permissions or other settings that I need to do.

[Noelle Mallory - MSFT] Please post questions to the MSDN Forums at http://forums.microsoft.com/msdn. You will likely get a quicker response through the forum than through the Community Content.


Page view tracker