IWorkflowManagerAddWorkflowDefinition Method
|
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax IWorkflowDefinition AddWorkflowDefinition(
IWorkState startState,
IUserGroup userGroup,
string name
)
Function AddWorkflowDefinition (
startState As IWorkState,
userGroup As IUserGroup,
name As String
) As IWorkflowDefinition
IWorkflowDefinition^ AddWorkflowDefinition(
IWorkState^ startState,
IUserGroup^ userGroup,
String^ name
)
abstract AddWorkflowDefinition :
startState : IWorkState *
userGroup : IUserGroup *
name : string -> IWorkflowDefinition
Parameters
- startState
- Type: Ingeniux.CMSIWorkState
Starting state of the definition.
This is the state to which the workflow automatically transitions from the "initial" state.
There is an ITransition created from the "initial" state to this state. - userGroup
- Type: Ingeniux.CMSIUserGroup
The NextGroup of the initial transition - name
- Type: SystemString
Name of the workflow definition
Return Value
Type:
IWorkflowDefinitionNewly created workflow definition instance.
Exceptions Remarks Please note that the workflow definition instance returned is not yet stored in the content store.
See Also