IContentItemAddToWorkflow Method
|
Adds this page to workflow. This operation creates a new workflow instance for this page based on the
Workflow Definition provided
and assigns the page to the specified
User.
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax IWorkflow AddToWorkflow(
IWorkflowDefinition workflowDefinition,
IUser assignToUser
)
Function AddToWorkflow (
workflowDefinition As IWorkflowDefinition,
assignToUser As IUser
) As IWorkflow
IWorkflow^ AddToWorkflow(
IWorkflowDefinition^ workflowDefinition,
IUser^ assignToUser
)
abstract AddToWorkflow :
workflowDefinition : IWorkflowDefinition *
assignToUser : IUser -> IWorkflow
Parameters
- workflowDefinition
- Type: Ingeniux.CMSIWorkflowDefinition
Definition of the workflow to create the workflow instance - assignToUser
- Type: Ingeniux.CMSIUser
User to assign the page to after it is added to workflow
Return Value
Type:
IWorkflowThe newly created workflow instance.
Remarks If this page is already in a workflow, it is first removed from that workflow.
See Also