Click or drag to resize

IWorkflowDefinitionAddTransition Method


Adds a new Transition to this Workflow Definition.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
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