IWorkflowManagerWorkflowsCount Method (IWorkflowDefinition) Ingeniux CMS Content Store API

Gets the count of Workflows. It can retrieve all workflows or filter them by Workflow Definition.

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

int WorkflowsCount(
	IWorkflowDefinition workflowDef = null
)

Parameters

workflowDef (Optional)
Type: Ingeniux.CMSIWorkflowDefinition
If provided, returns the count of workflows based on their defintion; otherwise, returns count of all workflows

Return Value

Type: Int32
Count of workflows.
See Also

Reference