Home Manual Reference Source
public class | source

Workflow

Member Summary

Public Members
public

The workflow's unique identifier.

public

The workflow's name. By default workflows have a name of "* This workflow needs a name".

public

An unordered list of workflow steps in the workflow.

Method Summary

Public Methods
public

Convenience method for returning the workflow's approver step.

public

Returns a list of WorkflowSteps in the order they have been designed to flow.

public

Returns a WorkflowStep by it's position within the workflow.

Public Members

public id: string source

The workflow's unique identifier.

public name: string source

The workflow's name. By default workflows have a name of "* This workflow needs a name".

public steps: Array<WorkflowStep>: * source

An unordered list of workflow steps in the workflow.

Return:

Array<WorkflowStep>

See:

Public Methods

public getApproverStep(): WorkflowStep source

Convenience method for returning the workflow's approver step.

Return:

WorkflowStep

See:

public getOrderedSteps(): Array<WorkflowStep> source

Returns a list of WorkflowSteps in the order they have been designed to flow.

Return:

Array<WorkflowStep>

public getStepByPosition(position: number): WorkflowStep source

Returns a WorkflowStep by it's position within the workflow.

Params:

NameTypeAttributeDescription
position number

The workflow step position

Return:

WorkflowStep