Click or drag to resize

IPageHooksOnBeforeAddToWorkflow Method


This method is invoked before a Page is added to a workflow.

Namespace:  Ingeniux.CMS.Models.Hooks
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
void OnBeforeAddToWorkflow(
	IContentItem contentItem,
	IWorkflowDefinition workflowDefinition,
	IUserWriteSession session
)

Parameters

contentItem
Type: Ingeniux.CMSIContentItem
Page that will be added to workflow.
workflowDefinition
Type: Ingeniux.CMSIWorkflowDefinition
The selected workflow type that the page will be added to.
session
Type: Ingeniux.CMSIUserWriteSession
The session that must be used to perform tasks on additional objects.
Remarks
When this action is invoked, the objects involved have yet to be saved to the Content Store.
See Also