Share via


SP.WorkflowServices.WorkflowInstanceService.enumerateInstancesForListItem Method (sp.workflowservices)

Retrieves all instances of the specified list item.

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

SP.WorkflowServices.WorkflowInstanceService.enumerateInstancesForListItem(listId, itemId)

Return value

SP.WorkflowServices.WorkflowInstanceCollection

Parameters

  • listId
    The id of the list to which the specified list item belongs.

  • itemId
    The id of the list item for which to return the instances.