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.CMSAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
SyntaxIWorkflow 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 IWorkflowDefinition
- Definition of the workflow to create the workflow instance
- assignToUser IUser
- User to assign the page to after it is added to workflow
Return Value
IWorkflowThe newly created workflow instance.
RemarksIf this page is already in a workflow, it is first removed from that workflow.
See Also