getParticipants(caseID, c11nEnv)
Obtains the list of participants for a case.
Returns
A Promise that resolves to an object.
Parameters
Name | Type | Description | Required |
caseID | string | The ID of the case whose list of participants must be obtained. | ✅ |
c11nEnv | object | The name of the context where the API is being called. | ✅ |
Usage example
In this example, the API obtains the list of participants of a case whose ID is
W-102
.
PCore.getStakeholderUtils().getParticipants('W-102', 'app/primary_1')
.then(participants => {
// participants array
}).catch(err => {
// errors
});
Previous topic getParticipantRoles(caseID, c11nEnv) Next topic getRoleView(caseID, participantRoleID, c11nEnv)