IWorkflowDefinitionAddTransition Method Ingeniux CMS Content Store API

Adds a new Transition to this Workflow Definition.

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

ITransition AddTransition(
	string name,
	EnumTrigger trigger,
	IWorkState currentState,
	IWorkState nextState,
	IUserGroup nextGroup
)

Parameters

name
Type: SystemString
Name of the transition
trigger
Type: Ingeniux.CMS.EnumsEnumTrigger
Transition trigger type (on create or on change)
currentState
Type: Ingeniux.CMSIWorkState
Starting workstate
nextState
Type: Ingeniux.CMSIWorkState
Ending workstate
nextGroup
Type: Ingeniux.CMSIUserGroup
The target Group for this transition

Return Value

Type: ITransition
Newly created transition instance.
Remarks

The newly created Transition is not yet stored in the content store.
See Also

Reference