wkcc__CmdCtrLogEvent__e

Contains log messages (errors and exceptions) from Workplace Command Center and Wellness Check. On insert into this platform event, an Apex trigger (LogEventTrigger) adds a corresponding record into the wkcc__CmdCtrLog__c custom object with the same fields. This platform event is available in orgs that have Work.com installed.

Supported Calls 

create(), describeSObjects()

Fields 

FieldTypePropertiesDescription
ReplayIdstringNillablePlatform events system field. See Platform Events Fields.
wkcc__ClassName__cstringCreate, NillableApex class from which the error originated.
wkcc__Level__cstringCreate, NillableLogging level for the operation that caused the error.Possible values are:
  • DEBUG
  • ERROR
  • INFO
  • WARN
wkcc__Message__ctextareaCreate, NillableThe error or exception. For example:Update failed. First exception on row 0 with id 1315w0000TwPnAAk: first error: FIELD_CUSTOM_VALIDATION_EXCEPTION. Location error message 1 for updating the parent location: [].
wkcc__ObjectIDs__ctextareaCreate, NillableComma-separated list of IDS for the standard and custom object affected by the operation that caused the error. For example: 1315w0000TwPnAAk, 1315w0000TwQQAA0, 1315w0000TwQRAA0, 1315w0000TwREAAO.
wkcc__ObjectName__cstringCreate, NillableIf the error was a result of a failed DML operation (insert, update, delete), then this field contains the object of the DML operation. For example: Location.
wkcc__Package__cstringCreate, NillableReserved for future use.
wkcc__ResponseJson__ctextareaCreate, NillableReserved for future use.
wkcc__StackTrace__ctextareaCreate, NillableReserved for future use.
wkcc__User__cstringCreate, NillableUser who initiated the operation that caused the error.

See Also