Click or drag to resize

IContentItemAddToWorkflow Method


Adds this page to workflow. This operation creates a new workflow instance for this page based on the Workflow Definition provided and assigns the page to the specified User.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
IWorkflow AddToWorkflow(
	IWorkflowDefinition workflowDefinition,
	IUser assignToUser
)

Parameters

workflowDefinition  IWorkflowDefinition
Definition of the workflow to create the workflow instance
assignToUser  IUser
User to assign the page to after it is added to workflow

Return Value

IWorkflow
The newly created workflow instance.
Remarks

If this page is already in a workflow, it is first removed from that workflow.

See Also