fetchDocuments

Fetch the list of case documents associated with either the currently selected work item or a specified case reference.

Required System Actions

cmisUser

Usage

CaseDocumentService.fetchDocuments(model,callback)

Parameters

Parameter Type Description
model CaseDocumentServiceModel object Data model to be used by the service request.
  • model.caseRef identifies the case reference for which to obtain the list of documents.
  • model.item identifies the array to be populated with the list of documents.
  • model.selectedWorkItem identifies the work item for which to obtain the list of documents
callback Function Callback function to handle success or failure results from the request.