SP.Workflow.WorkflowAssociation.internalName property (sp.js)
Gets a value that specifies the internal name of this workflow association, as determined by the WorkflowAssociation implementation.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value =SP.Workflow.WorkflowAssociation.get_internalName()
Return value
Type: String