getTags(caseID, c11nEnv)
Obtains the tags of a specific case.
Returns
A Promise that resolves to an object.
Parameters
Name | Type | Description | Required |
caseID | string | The ID of the case whose tags 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 tags of a case whose ID is
W-102
.
PCore.getTagUtils().getTags('W-102', 'app/primary_1')
.then(tags => {
// tags array
}).catch(err => {
// errors
});
Previous topic getTaggedCases(caseID, c11nEnv) Next topic postTags(caseID, tags, c11nEnv)