Newer Version Available

This content describes an older version of this product. View Latest

ServiceCrew

Represents a group of service resources who can be assigned to service appointments as a unit.

A service crew is a group of service resources whose combined skills and experience make them a good fit to work together on appointments. For example, a wellhead repair crew might include a hydrologist, a mechanical engineer, and an electrician.

Service appointments can only be assigned to service resources. To assign a service crew to service appointments, you must create a service resource with a resource type of Crew that represents the crew, then use the resource for assignment purposes.

Supported Calls

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

Special Access Rules

Field Service must be enabled.

Fields

Field Name Details
CrewSize
Type
int
Properties
Create, Filter, Group, Sort, Update
Description
The number of members on the crew. This field is manual, so it doesn’t auto-update when you add or remove members.
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The date when the service crew was last modified. Its label in the user interface is Last Modified Date.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The date when the service crew was last viewed.
Name
Type
string
Properties
Create, Filter, Group, Sort, Update
Description
The name of the service crew. For example, Repair Crew.
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
The crew owner. By default, the owner is the person who created the service crew.

Associated Objects

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

ServiceCrewFeed
Feed tracking is available for the object.
ServiceCrewHistory
History is available for tracked fields of the object.
ServiceCrewOwnerSharingRule
Sharing rules are available for the object.
ServiceCrewShare
Sharing is available for the object.