SP.Workflow.WorkflowTemplate.associationUrl property (sp.js)
Gets a value that specifies the site relative URL of the workflow association form to use with the workflow template.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value =SP.Workflow.WorkflowTemplate.get_associationUrl()
Return value
Type: String
Remarks
If the workflow template has no association form, the URL must return an empty string ("").
It must be a URL of relative form.