SP.Workflow.WorkflowAssociation.enabled property (sp.js)

Gets or sets a value that specifies whether new workflow instances will be allowed for this workflow association

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

var value =SP.Workflow.WorkflowAssociation.get_enabled()
          
SP.Workflow.WorkflowAssociation.set_enabled(value)
          

Return value

Type: Boolean