getWorkListItemsForView

Gets the work item list for a specific work view.

This operation must be called as a user who has access to the specified work view. See Work List View Access.

Required System Actions

viewWorkList

Usage

BPMWorklistService.getWorkListItemsForView(viewId,startPosition,numberOfItems,worklistServiceModel,callback)

Parameters

Parameter Type Description
viewId Number ID of the work view from which to get the work item list.
startPosition Number Position in the work item list (zero-based) from which to start the results list.
numberOfItems Number Number of items from the work view to include in the results list.
worklistServiceModel WorklistServiceModel object Data model to be used by the service request. The response populates worklistServiceModeltemplateData. workItems with the contents of the work list for the specified viewId.
Note: worklistServiceModeltemplateData. workItems is an array of type GetWorkListItemsForViewResponseType.
callback Function Callback function to handle success or failure results from the request.