Share via


SP.Workflow.WorkflowAssociationCollection.getByName(name) Method

Applies to: SharePoint Foundation 2010

In this article
Return Value
Applies To
Remarks

Retrieves a specified workflow association by the association name.

var value = SP.Workflow.WorkflowAssociationCollection.getByName(name);

Parameters

  • name
    The name of the workflow association to retrieve.

Type: string

Return Value

Type: SP.Workflow.WorkflowAssociation

Applies To

SP.Workflow.WorkflowAssociationCollection Class

Remarks

All workflow association objects in the collection must have unique values for their name property

See Also

Reference

SP.Workflow.WorkflowAssociationCollection Methods

SP.Workflow.WorkflowAssociationCollection Properties

SP.Workflow Namespace