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.

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

FieldTypePropertiesDescription
LastReferencedDatedateTimeFilter, Nillable, SortThe timestamp for when the current user last viewed a record related to this record.
LastViewedDatedateTimeFilter, Nillable, SortThe timestamp for when the current user last viewed this record. A null value can mean the record was only referenced and not viewed.
NamestringAutonumber, Defaulted on create, Filter, idLookup, SortThe name of this log message.
OwnerIdreferenceCreate, Defaulted on create, Filter, Group, Sort, UpdateThe ID of the user who currently owns this record. Default value is the user logged in to the API who ran create().
wkcc__ClassName__cstringCreate, Filter, Group, Nillable, Sort, UpdateApex class from which the error originated.
wkcc__Level__cpicklistCreate, Filter, Group, Nillable, Restricted picklist, Sort, UpdateLogging level for the operation that caused the error.Possible values are:
  • DEBUG
  • ERROR
  • INFO
  • WARN
wkcc__Message__ctextareaCreate, Nillable, UpdateThe 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__ctextareaCreate, Nillable, UpdateComma-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__cstringCreate, Filter, Group, Nillable, Sort, UpdateIf 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, Filter, Group, Nillable, Sort, UpdateReserved for future use.
wkcc__ResponseJson__ctextareaCreate, Nillable, UpdateReserved for future use.
wkcc__StackTrace__ctextareaCreate, Nillable, UpdateReserved for future use.
wkcc__User__creferenceCreate, Filter, Group, Nillable, Sort, UpdateUser who initiated the operation that caused the error.

See Also