getKey()
Obtains the key of the case that is rendered using the current context.
Returns
The case key as a string.
Parameters
This API does not have parameters.
Usage example
In this example, the API returns the key of the case that is rendered using the current context.
const caseKey = getPConnect().getCaseInfo().getKey();
Previous topic getID() Next topic getName()