SP.Workflow.WorkflowAssociationCollection.getById Method (sp.js)

Retrieves a specified workflow association by the association ID.

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

SP.Workflow.WorkflowAssociationCollection.getById(associationId)
          

Parameters

  • associationId
    Type: SP.Guid

    Represents the association of a workflow template with a specific list or content type.

Return value

Type: SP.Workflow.WorkflowAssociation

Remarks

Each workflow association must have a unique GUID.