How to access a correlation property for the current request

Can I access a Clipboard property that identifies the current request or thread? In Alert logs there is a field at position 11 that is interpreted as the CORRELATIONID that appears to have a GUID that may be used to link alerts together. Does anyone know if that is accessible in the Clipboard at runtime?

Hi John,

  1. if you are using latest versions lke infinity and above then this property may be explicity available on the pxRequestor page for services.
  2. you can use the custom java to retrieve the same [ String corrID =tools.getThread().getPublicAPI().getPRPCContext().getCorrelationId();] the code may vary a bit also try using tools.getPRThread
  3. Instead of manually linking you can think of using PDC, it automatically groups alerts by correlation iD and case id

also please mention if you are trying to pass this ID somewhere externally or just trying to log it.