Click or drag to resize

IWorkflowManagerAddWorkflow(IWorkflowDefinition, IPage, IUser, Boolean) Method


Adds a Page to a Workflow.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
IWorkflow AddWorkflow(
	IWorkflowDefinition workflowDefinition,
	IPage page,
	IUser assignToUser,
	bool validate = true
)

Parameters

workflowDefinition  IWorkflowDefinition
The workflow definition this workflow is based on
page  IPage
The page to add to the workflow
assignToUser  IUser
The user to whom to assign the page once it is added to workflow. When not specified, this user is the initial transition's default user. If default user is not specified, Page will be assigned to the Next Group of the transition.
validate  Boolean  (Optional)

[Missing <param name="validate"/> documentation for "M:Ingeniux.CMS.IWorkflowManager.AddWorkflow(Ingeniux.CMS.IWorkflowDefinition,Ingeniux.CMS.IPage,Ingeniux.CMS.IUser,System.Boolean)"]

Return Value

IWorkflow
The newly created workflow
Remarks
The newly created workflow is not yet saved to the content store.
See Also