SP.Workflow.WorkflowTemplateCollection object (sp.js)

Represents a collection of SP.Workflow.WorkflowTemplate object (sp.js)s.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.Workflow.WorkflowTemplateCollection()
          

Members

The WorkflowTemplateCollection object has the following members.

Constructor

The WorkflowTemplateCollection object has the following constructor.

Constructor

Description

WorkflowTemplateCollection

Initializes a new instance of the SP.Workflow.WorkflowTemplateCollection object (sp.js).

Methods

The WorkflowTemplateCollection object has the following methods.

Method

Description

getById

Returns a workflow template based on Id.

getByName

Returns the workflow template matching the name provided.

itemAt

Gets the workflow template at the specified index of the collection.

Properties

The WorkflowTemplateCollection object has the following properties.

Property

Description

childItemType

item

Gets the workflow template at the specified index of the collection.