Employee

Represents an employee within a company or organization. This object is available in API version 48.0 and later. In API version 49.0 and later, this object supports reports, criteria-based sharing rules, and history tracking, plus you can exclude individual fields from custom page layouts.

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

To access this object, you must have a Workplace Command Center permission set license and the Provides access to Workplace Command Center features system permission or have the Employee Management and Employee User add-on licenses.

FieldTypePropertiesDescription
AboutMetextareaCreate, Filter, Group, Nillable, Sort, UpdateInformation about the employee, such as areas of interest or skills. Values can be provided on Employee’s profile page. This field is available even if Chatter is disabled.
AlternateEmailemailCreate, Filter, Group, Nillable, Sort, UpdateThe employee’s alternate email address.
AvailabilitypicklistCreate, Filter, Group, Nillable, Sort, UpdateThe employee’s availability status.Possible values are:
  • In The Office
  • Out Of Office
  • Out Sick
  • PTO
  • Volunteering Time Off
  • Working Remotely
AvailabilityEndDatedateTimeCreate, Filter, Nillable, Sort, UpdateThe end date of the Employee’s availability, inclusive of the date.
AvailabilityStartDatedateTimeCreate, Filter, Nillable, Sort, UpdateThe start date of the Employee’s availability, inclusive of the date.
BannerPhotoUrlurlFilter, Nillable, SortRead only. The URL for the employee’s banner photo. Available in API v51.0 and later.
CurrentWellnessStatuspicklistCreate, Filter, Group, Nillable, Sort, UpdateThe employee’s current wellness status.Possible values are:
  • Available To Work
  • Remote Work Only
  • Unavailable
  • Unknown
DateOfBirthdateCreate, Filter, Group, Nillable, Sort, UpdateThe employee’s date of birth.
EmailemailCreate, Filter, Group, idLookup, Nillable, Sort, UpdateThe employee’s email address. This field is unique within your organization.
EmployeeNumberstringCreate, Filter, Group, idLookup, Sort, UpdateRequired. The employee’s employment ID for the organization they were hired into. This field is unique within your organization.
EmployeeStatuspicklistCreate, Filter, Group, Sort, UpdateRequired. The employee’s current work status.Possible values are:
  • Active
  • Inactive
  • Leave
  • Terminated
EmploymentTypepicklistCreate, Filter, Group, Nillable, Sort, UpdateThe employee’s full-time or part-time status.Possible values are:
  • Full-Time
  • Part-Time
FirstNamestringCreate, Filter, Group, Sort, UpdateRequired. The employee’s first name.
FullPhotoUrlurlFilter, Nillable, SortRead only. The URL for the employee’s profile photo. The URL is updated every time a photo is uploaded and reflects the most recent photo. If a newer photo has been uploaded, the URL returned for an older photo isn’t guaranteed to return a photo. Query this field for the URL of the most recent photo. Available in API v51.0 and later.
GenderpicklistCreate, Filter, Group, Nillable, Sort, UpdateThe employee’s gender.Possible values are:
  • Female
  • Male
  • Non-Binary / Non-Conforming
  • Other
  • Prefer Not to State
  • Transgender Female
  • Transgender Male
HomeAddressaddressFilter, NillableThe employee’s home address.
HomeCitystringCreate, Filter, Group, Nillable, Sort, UpdateThe city for the employee’s home address.
HomeCountrystringCreate, Filter, Group, Nillable, Sort, UpdateThe county for the employee’s home address.
HomeGeocodeAccuracypicklistCreate, Filter, Group, Nillable, Restricted picklist, Sort, UpdateThe level of accuracy of an employee’s home address geographical coordinates compared with its physical address. A geocoding service typically provides this value based on the address’s latitude and longitude coordinates.Possible values are:
  • Address
  • Block
  • City
  • County
  • ExtendedZip
  • NearAddress
  • Neighborhood
  • State
  • Street
  • Unknown
  • Zip
HomeLatitudedoubleCreate, Filter, Nillable, Sort, UpdateUsed with HomeLongitude to specify the precise geolocation of the employee’s home address. Acceptable values are numbers between –90 and 90 with up to 15 decimal places.
HomeLongitudedoubleCreate, Filter, Nillable, Sort, UpdateUsed with HomeLatitude to specify the precise geolocation of the employee’s home address. Acceptable values are numbers between –180 and 180 with up to 15 decimal places.
HomePhonephoneCreate, Filter, Group, Nillable, Sort, UpdateThe employee’s home phone number.
HomePostalCodestringCreate, Filter, Group, Nillable, Sort, UpdateThe postal code for the employee’s home address.
HomeStatestringCreate, Filter, Group, Nillable, Sort, UpdateThe state for the employee’s home address.
HomeStreettextareaCreate, Filter, Group, Nillable, Sort, UpdateThe street for the employee’s home address.
IndividualIdreferenceCreate, Filter, Group, Nillable, Sort, UpdateA reference to the Individual record that this employee is assigned to.
InternalOrganizationUnitIdreferenceCreate, Filter, Group, Nillable, Sort, UpdateA reference to the InternalOrganizationUnit this employee is assigned to.
JobProfilepicklistCreate, Filter, Group, Nillable, Sort, UpdateThe employee’s job profile at the company.
LastNamestringCreate, Filter, Group, Sort, UpdateRequired. The employee’s last name.
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. If this value is null, this record might only have been referenced (LastReferencedDate) and not viewed.
LocationIdreferenceCreate, Filter, Group, Nillable, Sort, UpdateA reference to the Location that this employee is assigned to.
ManagerIdreferenceCreate, Filter, Group, Nillable, Sort, UpdateA reference to the Employee record of the employee’s manager.
MediumPhotoUrlurlFilter, Nillable, SortRead only. The URL for the medium-sized employee’s profile photo. The URL is updated every time a photo is uploaded and reflects the most recent photo. If a newer photo has been uploaded, the URL returned for an older photo isn’t guaranteed to return a photo. Query this field for the URL of the most recent photo. Available in API v51.0 and later.
MiddleNamestringCreate, Filter, Group, Nillable, Sort, UpdateThe employee’s middle name.
NamestringFilter, Group, idLookup, Nillable, SortA compound field of Employee.FirstName, Employee.MiddleName, and Employee.LastName.
NameSuffixstringCreate, Filter, Group, Nillable, Sort, UpdateThe employee’s suffix.
OutOfOfficeMessagestringCreate, Filter, Group, Nillable, Sort, UpdateThe message portion of the employee availability. This message can provide reasons or details about the change in availability. The maximum length of this string is 40 characters.
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 to perform the create operation.
PreferredFirstNamestringCreate, Filter, Group, Nillable, Sort, UpdateThe name the employee prefers to be called.
PreferredPronounpicklistCreate, Filter, Group, Nillable, Sort, UpdateThe employee’s preferred pronoun.Possible values are:
  • He/Him/His
  • Other/Ask Me
  • She/Her/Hers
  • They/Them/Theirs
RelatedPersonIdreferenceCreate, Filter, Group, Nillable, Sort, UpdateLinks an employee to a person account with a unique value. Reserved for future use. Don’t edit it.
SmallPhotoUrlurlFilter, Nillable, SortRead only. The URL for the small-sized employee’s profile photo. The URL is updated every time a photo is uploaded and reflects the most recent photo. If a newer photo has been uploaded, the URL returned for an older photo isn’t guaranteed to return a photo. Query this field for the URL of the most recent photo. Available in API v51.0 and later.
StatusAsOfdateTimeCreate, Filter, Sort, UpdateRequired. Start date of the employee’s current status.
StatusEndDatedateTimeCreate, Filter, Nillable, Sort, UpdatePlanned end date for the employee’s status.
TimeZonepicklistCreate, Filter, Group, Nillable, Restricted picklist, Sort, UpdateThe time zone which the employee’s work hours fall within.
UserIdreferenceCreate, Filter, Group, Nillable, Sort, UpdateLookup field to associate an Employee record with a user in the org. The field is optional and unique.
WorkPhonephoneCreate, Filter, Group, Nillable, Sort, UpdateThe employee’s formatted work phone number including country code and extension.
WorkerTypepicklistCreate, Filter, Group, Restricted picklist, Sort, UpdateRequired. The type of worker for the employee.Possible values are:
  • Alumnus
  • Contractor
  • Employee
  • Intern
  • Temporary
WorkingHoursEndpicklistCreate, Filter, Group, Nillable, Restricted picklist, Sort, UpdateThe end time of the employee’s working hours.
WorkingHoursStartpicklistCreate, Filter, Group, Nillable, Restricted picklist, Sort, UpdateThe start time of the employee’s working hours.

This object has the following associated objects. Unless noted, they’re available in the same API version as this object.

EmployeeHistory (API version 49.0)

History is available for tracked fields of the object.

EmployeeOwnerSharingRule

Sharing rules are available for the object.

EmployeesShare (API version 49.0)

Sharing is available for the object.

See Also