This documentation is archived and is not being maintained.

SP.Workflow.WorkflowAssociationCollection object (sp.js)

SharePoint 2013

Represents a collection of SP.Workflow.WorkflowAssociation 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.WorkflowAssociationCollection()
          

The WorkflowAssociationCollection object has the following members.

Constructor

The WorkflowAssociationCollection object has the following constructor.

Constructor

Description

WorkflowAssociationCollection

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

Methods

The WorkflowAssociationCollection object has the following methods.

Method

Description

add

Creates a new workflow association based on properties specified in the parameters object, and adds an object representing that workflow association to the collection.

getById

Retrieves a specified workflow association by the association ID.

getByName

Retrieves a specified workflow association by the association name.

itemAt

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

Properties

The WorkflowAssociationCollection object has the following properties.

Property

Description

childItemType

item

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

This object provides operations for listing existing workflow associations and adding new workflow associations.

Show: