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
)
Function AddTransition (
name As String,
trigger As EnumTrigger,
currentState As IWorkState,
nextState As IWorkState,
nextGroup As IUserGroup
) As ITransition
ITransition^ AddTransition(
String^ name,
EnumTrigger trigger,
IWorkState^ currentState,
IWorkState^ nextState,
IUserGroup^ nextGroup
)
abstract AddTransition :
name : string *
trigger : EnumTrigger *
currentState : IWorkState *
nextState : IWorkState *
nextGroup : IUserGroup -> ITransition
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:
ITransitionNewly created transition instance.
Remarks The newly created
Transition is not yet stored in the content store.
See Also