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

Gets a value that specifies the identifier of the site on which the workflow association resides.

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

var value =SP.Workflow.WorkflowAssociation.get_webId()
          

Return value

Type: SP.Guid