SP.Workflow.WorkflowAssociationCollection.add(parameters) Method
Applies to: SharePoint Foundation 2010
Creates a new workflow association based on properties specified in the parameters object, and adds an object representing that workflow association to the collection.
var value = SP.Workflow.WorkflowAssociationCollection.add(parameters);
Parameters
parameters
Represents the association of a workflow template with a specific list or content type.It must not be null.
Type: SP.Workflow.WorkflowAssociationCreationInformation
Return Value
Type: SP.Workflow.WorkflowAssociation
Applies To
SP.Workflow.WorkflowAssociationCollection Class
See Also
Reference
SP.Workflow.WorkflowAssociationCollection Methods