Retrieves the collection of Workflows in a paginated fashion. It can retrieve the entire collection or filter workflows by Workflow Definition.
Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax
IEnumerable<IWorkflow> Workflows( out int count, IWorkflowDefinition workflowDef = null, int pageSize = -1, int startIndex = -1 )
Parameters
- count
- Type: SystemInt32
Outputs total count of entries - workflowDef (Optional)
- Type: Ingeniux.CMSIWorkflowDefinition
If provided, returns workflows based on their defintion; otherwise, returns all workflows - pageSize (Optional)
- Type: SystemInt32
Number of entries to return. If not provided, returns all entries. - startIndex (Optional)
- Type: SystemInt32
Starting index of entries. If not provided, starts from the first entry.
Return Value
Type: IEnumerableIWorkflowCollection of workflows.
See Also