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

Field Type Properties Description
ReplayId string Nillable Platform events system field. See Platform Events Fields.
wkcc__ClassName__c string Create, Nillable Apex class from which the error originated.
wkcc__Level__c string Create, Nillable Logging level for the operation that caused the error.Possible values are:<ul><li>DEBUG</li><li>ERROR</li><li>INFO</li><li>WARN</li></ul>
wkcc__Message__c textarea Create, Nillable The 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__c textarea Create, Nillable Comma-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__c string Create, Nillable If 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__c string Create, Nillable Reserved for future use.
wkcc__ResponseJson__c textarea Create, Nillable Reserved for future use.
wkcc__StackTrace__c textarea Create, Nillable Reserved for future use.
wkcc__User__c string Create, Nillable User who initiated the operation that caused the error.

See Also