SP.WorkflowServices.WorkflowInstanceService.countInstances Method (sp.workflowservices)
Retrieves a count of all the instances of the specified WorkflowSubscription.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
SP.WorkflowServices.WorkflowInstanceService.countInstances(parentSubscription)
Return value
Returns an integer representing the count of the specified subscription.
Parameters
- parentSubscription
The parent subscription of the instances to count.