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