This method returns the list of States of a Workflow ordered by State Order ascending

Namespace: DotNetNuke.Entities.Content.Workflow
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
IEnumerable<WorkflowState> GetWorkflowStates(
	int workflowId
)
Visual Basic
Function GetWorkflowStates ( 
	workflowId As Integer
) As IEnumerable(Of WorkflowState)

Parameters

workflowId
Type: System..::..Int32
Workflow Id

Return Value

List of workflow States ordered by State Order ascending

See Also