ShiftWorkTopic
Represents the relationship between a Shift object and a Work Type or Work Type Group object for Salesforce Scheduler. This object is available in API version 56.0 and later.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
Salesforce Scheduler must be enabled.
For a ShiftWorkTopic record, you must specify either a work type or a work type group (based on the Salesforce Scheduler for Health Cloud option), or set AreAllTopicsSupported as true. Use WorkTypeGroupId for Salesforce Scheduler and use WorkTypeId only when the Salesforce Scheduler for Health Cloud option is enabled.
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Indicates whether the shift supports all work type or work type groups (
true) or not (false). - Default value:
false
- Type: int
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: The maximum number of attendees for a group service appointment in a shift. This field is considered when the appointment mode is Group. Available in API version 61.0 and later.
- Type: dateTime
- Properties: Filter, Nillable, Sort
- Description: The date and time that the current user last viewed a record related to this object.
- Type: dateTime
- Properties: Filter, Nillable, Sort
- Description: The timestamp for when the current user last viewed this object.
- Type: int
- Properties: Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
- Description: The maximum number of appointments allowed for each time slot for a shift. This field is considered when
WorkTypeIdorWorkTypeGroupIdis provided. This field is available in API version 60.0 and later.
- Type: string
- Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
- Description: The name of this shift-work topic relationship.
- Type: reference
- Properties: Create, Filter, Group, Sort
- Description: The ID of the shift that’s related to the work type indicated in the
WorkTypeIdfield or the work type group indicated in theWorkTypeGroupIdfield. This field is a relationship field. - Relationship Name: Shift
- Relationship Type: Lookup
- Refers To: Shift
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The ID of the work type group that’s related to the shift indicated in the
ShiftIdfield. This field is a relationship field. - Relationship Name: WorkTypeGroup
- Relationship Type: Lookup
- Refers To: WorkTypeGroup
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The ID of the work type that’s related to the shift indicated in the
ShiftIdfield. This field is a relationship field. - Relationship Name: WorkType
- Relationship Type: Lookup
- Refers To: WorkType
This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.
ShiftWorkTopicChangeEvent: Change events are available for the object.
ShiftWorkTopicFeed: Feed tracking is available for the object.
ShiftWorkTopicHistory: History is available for tracked fields of the object.
ShiftWorkTopicOwnerSharingRule: Sharing rules are available for the object.
ShiftWorkTopicShare: Sharing is available for the object.