Share via


SPWorkflowManager.ModifyWorkflow Method

Modifies the specified workflow instance, as specified in the context data.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Sub ModifyWorkflow ( _
    workflow As SPWorkflow, _
    modification As SPWorkflowModification, _
    contextData As String _
)
'Usage
Dim instance As SPWorkflowManager
Dim workflow As SPWorkflow
Dim modification As SPWorkflowModification
Dim contextData As String

instance.ModifyWorkflow(workflow, modification, _
    contextData)
public void ModifyWorkflow(
    SPWorkflow workflow,
    SPWorkflowModification modification,
    string contextData
)

Parameters

  • contextData
    Type: System.String

    The context data for this modification.

Remarks

This method modifies the workflow specified by the workflow parameter with the modifications specified by the contextData parameter.

For more information on workflow modifications and modification forms, see Workflow Modification Forms (SharePoint Foundation).

See Also

Reference

SPWorkflowManager Class

SPWorkflowManager Members

Microsoft.SharePoint.Workflow Namespace

Other Resources

Workflows in SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation