Click or drag to resize

IWorkflowManagerAddWorkflow Method (IWorkflowDefinition, IPage, IUser, Boolean)


Adds a Page to a Workflow.

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

Parameters

workflowDefinition
Type: Ingeniux.CMSIWorkflowDefinition
The workflow definition this workflow is based on
page
Type: Ingeniux.CMSIPage
The page to add to the workflow
assignToUser
Type: Ingeniux.CMSIUser
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 (Optional)
Type: SystemBoolean

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

Return Value

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