Click or drag to resize

IContentItemAddToWorkflowDefault Method


Adds this page to a workflow. If the initial Transition has a Default User specified, the page will be assigned to that user. Otherwise, it will be assigned to the Next Group specified by the transition. This operation creates a new workflow instance for this page based on the Workflow Definition provided.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax
IWorkflow AddToWorkflowDefault(
	IWorkflowDefinition workflowDefinition
)

Parameters

workflowDefinition
Type: Ingeniux.CMSIWorkflowDefinition
Definition of the Workflow to create the workflow instance

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