IWorkflowManagerAddWorkflow(IWorkflowDefinition, IPage, IUser, Boolean) Method
|
Namespace: Ingeniux.CMSAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
SyntaxIWorkflow 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 IWorkflowDefinition
- The workflow definition this workflow is based on
- page IPage
- The page to add to the workflow
- assignToUser IUser
- 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 Boolean (Optional)
[Missing <param name="validate"/> documentation for "M:Ingeniux.CMS.IWorkflowManager.AddWorkflow(Ingeniux.CMS.IWorkflowDefinition,Ingeniux.CMS.IPage,Ingeniux.CMS.IUser,System.Boolean)"]
Return Value
IWorkflowThe newly created workflow
RemarksThe newly created workflow is not yet saved to the content store.
See Also