Export (0) Print
Expand All

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

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

Parameters

workflow
Type: Microsoft.SharePoint.Workflow.SPWorkflow
The workflow instance to modify.
modification
Type: Microsoft.SharePoint.Workflow.SPWorkflowModification
The workflow modification.
contextData
Type: System.String
The context data for this modification.

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).

Community Additions

ADD
Show:
© 2014 Microsoft