listCaseActions
Lists all the case actions available for a given case reference.
Parameters
Parameter | Type | Description |
---|---|---|
model | CaseManagementModel | The case model to be passed to the $scope object.
The response populates the CaseManagementModel.caseActions object with the case actions. |
caseRef | String | Identifies the case for which case actions are to be returned. |
callback | Function | Callback function to handle success or failure results from the request. |
Sample Usage
scope.caseRef = "BDS-1-com.example.claimbom.Policy-3-0"; //accept a case reference from user for which we need the case actions //Actual Service call CaseManagementService.listCaseActions(scope,scope.caseRef, {onSuccess: function() { console.log("case actions for the given case reference"+scope.caseRef+" are "+scope.caseActions); //case actions are returned by the service and assigned to caseActions } });
Copyright © Cloud Software Group, Inc. All rights reserved.