Click or drag to resize

IAssetWorkflowHooksOnBeforeWorkflowAdvanceAsset Method


This method is invoked before a content item is advanced in workflow.

Namespace:  Ingeniux.CMS.Models.Hooks
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
void OnBeforeWorkflowAdvanceAsset(
	ITransition transition,
	IAsset asset,
	IWorkflow workflow,
	IUserWriteSession session
)

Parameters

transition
Type: Ingeniux.CMSITransition
The transition that Workflow will advance through.
asset
Type: Ingeniux.CMSIAsset
The Asset involved in the action
workflow
Type: Ingeniux.CMSIWorkflow
The Workflow involved in the action
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