SP.Workflow.WorkflowTemplateCollection object (sp.js)

SharePoint 2013

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

Last modified: March 09, 2015

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

var object = new SP.Workflow.WorkflowTemplateCollection()
          

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.

Show: