Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ModifyWorkflow Method

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

Show:
© 2015 Microsoft