IWorkflowManagerRemoveWorkflowDefinition Method Ingeniux CMS Content Store API

Removes a Workflow Definition from collection.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax

bool RemoveWorkflowDefinition(
	IWorkflowDefinition workflowDefinition
)

Parameters

workflowDefinition
Type: Ingeniux.CMSIWorkflowDefinition
The workflow definition to remove. If the value is null, method does nothing.

Return Value

Type: Boolean
True if the definition exists in collection, false otherwise.
Exceptions

ExceptionCondition
InvalidOperationExceptionWhen there are still pages in workflows based on this definition.
Remarks

Workflow definition cannot be removed if there are still Workflow instances based on this definition.
See Also

Reference