getViewsForResource

Return the list of work views to which the calling user has access.

Required System Actions

viewWorkList

Usage

BPMWorklistService.getViewsForResource(startPosition,numberOfItems,worklistServiceModel,callback)

Parameters

Parameter Type Description
startPosition Number Position in the list of available work views (zero-based) from which to start the results list.
numberOfItems Number Number of work views to include in the results list.
worklistServiceModel WorklistServiceModel object Data model to be used by the service request. The response populates worklistServiceModeltemplateData. workListViews with the details of each work view that the calling user is permitted to access.
Note: worklistServiceModeltemplateData. workListViews is an array of type GetViewsForResourceResponseType.
callback Function Callback function to handle success or failure results from the request.