SP.Workflow.WorkflowAssociation.baseId property (sp.js)
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
Gets a value that specifies the identifier of the workflow template on which this workflow association is based.
var value =SP.Workflow.WorkflowAssociation.get_baseId()
Return value
Type: SP.Guid