ServiceTerritory

Represents the locations and spaces associated with your workplace. Work.com adds new custom fields to the standard ServiceTerritory object. This object is available in API version 38.0 and later.

For standard fields on the ServiceTerritory object, see Object Reference - ServiceTerritory.

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

FieldTypePropertiesDescription
wkfsl__Facility_Type__cpicklistCreate, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update

The type of facility, which is derived from the Location record. Users see this value in the Work.com Command Center.

Possible values are:

  • Building

  • Campus

  • Floor

  • Plant

  • Site

  • Space

  • Store

  • Virtual

  • Warehouse

The default value is Building. This field is available in API version 48.0 and later.

This field is standard, but the picklist values are custom for Work.com. Users see these values in the Work.com Command Center.

wkfsl__Location__creferenceCreate, Filter, Group, Nillable, Sort, UpdateLocation of the service territory. This field is available in API version 48.0 and later.
wkfsl__Maximum_Occupancy__cdoubleCreate, Filter, Nillable, Sort, UpdateMaximum occupancy for the service territory. This field must be populated for each territory. This field is available in API version 48.0 and later.
wkfsl__Select_for_Facility_Plan__cbooleanCreate, Filter, Group, Sort, UpdateSets whether the service territory available for facility plans. This field’s initial value is set from the location type during setup. The default value is false. This field is available in API version 48.0 and later, and in package version 1.73 and later.