Click or drag to resize

IWorkflowManagerRemoveWorkflowDefinition Method


Removes a Workflow Definition from collection.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
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