IWorkflowAdvance Method Ingeniux CMS Content Store API

Advances this workflow from its current Work State to the next Work State, using a specified Transition. Meanwhile, determines which User to whom to assign the workflow, and whether to perform Actions.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax

void Advance(
	ITransition transition,
	string comment,
	IUser assignUser = null,
	bool performAction = true,
	bool groupAssign = false
)

Parameters

transition
Type: Ingeniux.CMSITransition
The transition that is used to advance the workflow, the next Work State of this workflow will be the NextState on the transition.
comment
Type: SystemString
User comments on the advancement
assignUser (Optional)
Type: Ingeniux.CMSIUser
The user to whom to assign the page. If default, assign to the DefaultUser of the transition, or the NextGroup on the transition if DefaultUser is not specified.
performAction (Optional)
Type: SystemBoolean
Specifies whether to perform the actions on the transition. Defaults to true.
groupAssign (Optional)
Type: SystemBoolean
Specifies whether to assign page to next group if no user is provided. If false it will choose the default user if possible before resorting to group. Defaults to false.
Exceptions

ExceptionCondition
InvalidOperationExceptionWhen workflow is locked
Remarks

If the Workflow's DontExecuteActions property is set to true, the performAction parameter will not be effective.
See Also

Reference