Skip to main content
Version: 7.5.5

Case ID

Case id is a very important case attribute that can be used for different occasions: send an API request, find a case, etc.

Implementation of a case id element depends on Pega version. We have a smart mechanism that handles the element automatically depending on Pega version. But nn case of a custom implementation you might still need to use an element control to get a Pega case id.

Available methods

NameParameter(s)TypeDescription
getIdReturns a Pega case id in a string format
consoleLogIdGets a Pega case id and prints it in the console
caseIdElementReturns a Pega case id element selector (in a string format)
assertCaseIdcaseIdstringChecks if a Pega case id equal to an expected one
options?{ timeout?: number; interval?: number; retries?: number }