Share via


EnableWorkflowModification Class

Enables a workflow modification form, so that the modification can be listed as an available workflow modification in the Windows SharePoint Services user interface.

Inheritance Hierarchy

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

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

Syntax

<ToolboxBitmapAttribute(GetType(EnableWorkflowModification), "Resources.EnableWorkflowModification.bmp")> _
<ActivityToolboxDisplayAttribute("VSTTSharePointWorkflow", True)> _
Public NotInheritable Class EnableWorkflowModification _
    Inherits CallExternalMethodActivity

Dim instance As EnableWorkflowModification
[ToolboxBitmapAttribute(typeof(EnableWorkflowModification), "Resources.EnableWorkflowModification.bmp")]
[ActivityToolboxDisplayAttribute("VSTTSharePointWorkflow", true)]
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.

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

Reference

EnableWorkflowModification Members

Microsoft.SharePoint.WorkflowActions Namespace

Other Resources

Workflow Activities for Windows SharePoint Services Overview

Workflow Modification Forms (Windows SharePoint Services)