SP.Workflow.WorkflowAssociation.id property (sp.js)
Gets a value that specifies the identifier of the workflow association.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value =SP.Workflow.WorkflowAssociation.get_id()
Return value
Type: SP.Guid
Remarks
Every workflow association must return its own GUID for this property.