SP.WorkflowServices.WorkflowServicesManager.isConnected property (sp.workflowservices)

Gets a Boolean value that indicates whether the current instance is actively connected to a workflow host.

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

var value = SP.WorkflowServices.WorkflowServicesManager.get_isConnected()

Return value

Returns true if the instance is connected. Otherwise returns false.