IWorkflowManagerWorkflows Method
|
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: 10.6.308
Syntax IEnumerable<IWorkflow> Workflows(
out int count,
IWorkflowDefinition workflowDef = null,
int pageSize = -1,
int startIndex = -1
)
Function Workflows (
<OutAttribute> ByRef count As Integer,
Optional workflowDef As IWorkflowDefinition = Nothing,
Optional pageSize As Integer = -1,
Optional startIndex As Integer = -1
) As IEnumerable(Of IWorkflow)
IEnumerable<IWorkflow^>^ Workflows(
[OutAttribute] int% count,
IWorkflowDefinition^ workflowDef = nullptr,
int pageSize = -1,
int startIndex = -1
)
abstract Workflows :
count : int byref *
?workflowDef : IWorkflowDefinition *
?pageSize : int *
?startIndex : int
(* Defaults:
let _workflowDef = defaultArg workflowDef null
let _pageSize = defaultArg pageSize -1
let _startIndex = defaultArg startIndex -1
*)
-> IEnumerable<IWorkflow>
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