PS.ProjectContext.phases property (ps.js)
Gets the collection of Project Server workflow phases in the Project Web App instance.
Applies to: Project Professional 2013 | Project Server 2013
var value = PS.ProjectContext.get_phases()
Return value
PS.PhaseCollection
A collection of Phase objects.
Remarks
A workflow phase is a major part of a workflow. A phase can contain one or more stages in the workflow.