getCaseInformation
Retrieves a summary of the case information for a given work item or case reference.
Parameters
Parameter | Type | Description |
---|---|---|
model | CaseManagementModel | The case model to be passed to the $scope object.
You must provide one of the following:
The sample usage below shows how each of these can be passed. The response populates the CaseManagementModel.caseRefInformation object with an array of CaseReferenceWithSummaryDetailsType objects. |
callback | Function | Callback function to handle success or failure results from the request. |
Sample Usage
BPMLoginService.getExtendedUserInfo({ onSuccess : function(userInfo) { $scope.guid = userInfo.guid; $scope.selectedWorkItem = $scope.acceptWorkItemFromUser; //OR $scope.caseRef = "BDS-2 com.example.claimmodel.Claim-132-0"; //accept a case reference from user for which we need the case summary //OR $scope.caseReferencesArray= []; $scope.caseReferencesArray.push('BDS-2-com.example.claimmodel.Claim-132-0','BDS-2-com.example.claimmodel.Claim-132-0'); //assign multiple case references for which we need the case summary //Actual Service call CaseManagementService.getCaseInformation($scope, {onSuccess: function() { console.log("Case Reference Summary is "+JSON.stringify($scope.caseRefInformation)); //Service call assigns the case summary to scope.caseRefInformation } }); } });
Copyright © Cloud Software Group, Inc. All rights reserved.