getCaseFollowers(caseID, context)
Obtains the followers of a case.
Returns
A Promise that obtains the followers of a case.
Parameters
Name | Type | Description | Required |
caseID | string | The ID of the case whose followers must be obtained. | ✅ |
context | string | The name of the context where the API is being called. | ✅ |
Usage example
In this example, the API obtains the followers of a case whose ID is
W-102
.
PCore.getCaseFollowerApi().getCaseFollowers('W-102' , 'app/primary_1')
.then(followers => {
// array containing the list of followers for the case
}).catch(err => {
// errors
});
Previous topic deleteCaseFollower(caseID, followerID, context) Next topic APIs in the ContainerUtils module