wkcc__CmdCtrLog__c

Stores log messages (errors and exceptions) from Workplace Command Center and Wellness Check. Each log message contains information about the error, such as the originating Apex class, affected objects, logging level, user who executed the operation, and more. This object is available in orgs that have Work.com installed.

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

Fields

Field Details
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp for when the current user last viewed a record related to this record.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp for when the current user last viewed this record. A null value can mean the record was only referenced and not viewed.
Name
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
The name of this log message.
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
The ID of the user who currently owns this record. Default value is the user logged in to the API who ran create().
wkcc__ClassName__c
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Apex class from which the error originated.
wkcc__Level__c
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Logging level for the operation that caused the error.
Possible values are:
  • DEBUG
  • ERROR
  • INFO
  • WARN
wkcc__Message__c
Type
textarea
Properties
Create, Nillable, Update
Description
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__ObjectIdList__c
Type
textarea
Properties
Create, Nillable, Update
Description
Comma-separated list of IDs for the standard and custom objects affected by the operation that caused the error. For example: 1315w0000TwPnAAk, 1315w0000TwQQAA0, 1315w0000TwQRAA0, 1315w0000TwREAAO.
wkcc__ObjectName__c
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
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
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Reserved for future use.
wkcc__ResponseJson__c
Type
textarea
Properties
Create, Nillable, Update
Description
Reserved for future use.
wkcc__StackTrace__c
Type
textarea
Properties
Create, Nillable, Update
Description
Reserved for future use.
wkcc__User__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
User who initiated the operation that caused the error.