Click or drag to resize

IAssetHooksOnBeforeAddToWorkflowAsset Method


This method is invoked before an Asset 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 OnBeforeAddToWorkflowAsset(
	IContentItem contentItem,
	IWorkflowDefinition workflowDefinition,
	IUserWriteSession session
)

Parameters

contentItem
Type: Ingeniux.CMSIContentItem
Asset that will be added to workflow.
workflowDefinition
Type: Ingeniux.CMSIWorkflowDefinition
The selected workflow type that the asset 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