IWorkflowManagerAddWorkflow Method (IWorkflowDefinition, IPage, IUser, Boolean)
|
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax IWorkflow AddWorkflow(
IWorkflowDefinition workflowDefinition,
IPage page,
IUser assignToUser,
bool validate = true
)
Function AddWorkflow (
workflowDefinition As IWorkflowDefinition,
page As IPage,
assignToUser As IUser,
Optional validate As Boolean = true
) As IWorkflow
IWorkflow^ AddWorkflow(
IWorkflowDefinition^ workflowDefinition,
IPage^ page,
IUser^ assignToUser,
bool validate = true
)
abstract AddWorkflow :
workflowDefinition : IWorkflowDefinition *
page : IPage *
assignToUser : IUser *
?validate : bool
(* Defaults:
let _validate = defaultArg validate true
*)
-> IWorkflow
Parameters
- workflowDefinition
- Type: Ingeniux.CMSIWorkflowDefinition
The workflow definition this workflow is based on - page
- Type: Ingeniux.CMSIPage
The page to add to the workflow - assignToUser
- Type: Ingeniux.CMSIUser
The user to whom to assign the page once it is added to workflow.
When not specified, this user is the initial transition's default user.
If default user is not specified, Page will be assigned to the Next Group of the transition.
- validate (Optional)
- Type: SystemBoolean
[Missing <param name="validate"/> documentation for "M:Ingeniux.CMS.IWorkflowManager.AddWorkflow(Ingeniux.CMS.IWorkflowDefinition,Ingeniux.CMS.IPage,Ingeniux.CMS.IUser,System.Boolean)"]
Return Value
Type:
IWorkflowThe newly created workflow
Remarks The newly created workflow is not yet saved to the content store.
See Also