共用方式為


SP.Workflow.WorkflowAssociationCollection.getById(associationId) Method

Applies to: SharePoint Foundation 2010

In this article
Return Value
Applies To
Remarks

Retrieves a specified workflow association by the association ID.

var value = SP.Workflow.WorkflowAssociationCollection.getById(associationId);

Parameters

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

Type: SP.Guid

Return Value

Type: SP.Workflow.WorkflowAssociation

Applies To

SP.Workflow.WorkflowAssociationCollection Class

Remarks

Each workflow association must have a unique GUID.

See Also

Reference

SP.Workflow.WorkflowAssociationCollection Methods

SP.Workflow.WorkflowAssociationCollection Properties

SP.Workflow Namespace