IWorkflowManagerAddWorkflowDefinition Method
|
Namespace: Ingeniux.CMSAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
SyntaxIWorkflowDefinition 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 IWorkState
- 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 IUserGroup
- The NextGroup of the initial transition
- name String
- Name of the workflow definition
Return Value
IWorkflowDefinitionNewly created workflow definition instance.
Exceptions
RemarksPlease note that the workflow definition instance returned is not yet stored in the content store.
See Also