IPageAddToWorkflow Method Ingeniux CMS Content Store API

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: 9.0.565.0 (9.0.565)
Syntax

IWorkflow AddToWorkflow(
	IWorkflowDefinition workflowDefinition,
	IUser assignToUser
)

Parameters

workflowDefinition
Type: Ingeniux.CMSIWorkflowDefinition
Definition of the workflow to create the workflow instance
assignToUser
Type: Ingeniux.CMSIUser
User to assign the page to after it is added to workflow

Return Value

Type: IWorkflow
The newly created workflow instance.
Remarks

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

See Also

Reference