JobPositionShift

Represents a specific work shift associated with a job position or one of its related recurrence schedules. This object is available in API version 64.0 and later.

Supported Calls

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

Special Access Rules

This object is available only if the VolunteerManagementPsl permission set license is enabled and the Manage Volunteer Data permission is assigned to users.

Fields

Description

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The description of the job position shift.

EndDate

  • Type: date
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The end date of the job position shift.

EndTime

  • Type: time
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The end time of the job position shift.

JobPositionId

  • Type: reference
  • Properties: Create, Filter, Group, Sort, Update
  • Description: The lookup to the related job position.

    This field is a relationship field.

  • Relationship Name: JobPosition
  • Refers To: JobPosition

LastReferencedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The timestamp for when the current user last viewed a record related to this record.

LastViewedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The timestamp for when the current user last viewed this record. If this value is null, it’s possible that this record was referenced (LastReferencedDate) and not viewed.

MaximumAttendeesCount

  • Type: int
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The maximum capacity for position assignments in the job position shift.

Name

  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: The name of the job position shift.

OwnerId

  • Type: reference
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: ID of the owner of this object. ID of the creator of this object.

    This field is a polymorphic relationship field.

  • Relationship Name: Owner
  • Refers To: Group, User

PositionAssignmentCount

  • Type: int
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The total number of related job position assignments.

RecurrenceScheduleId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The lookup to the related recurrence schedule.

    This field is a relationship field.

  • Relationship Name: RecurrenceSchedule
  • Refers To: RecurrenceSchedule

RemainingCapacity

  • Type: int
  • Properties: Filter, Group, Nillable, Sort
  • Description: The remaining capacity after subtracting the position assignments count from the maximum attendees count.

    This field is a calculated field.

StartDate

  • Type: date
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The start date of the job position shift.

StartTime

  • Type: time
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The start time of the job position shift.

Status

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The status of the job position shift.
  • Possible values:
    • Canceled
    • Complete
    • In Progress
    • Upcoming

TimeZone

  • Type: picklist
  • Properties: Create, Filter, Group, Restricted picklist, Sort, Update
  • Description: The time zone which the operating hours fall within.

Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as JobPositionShift.

JobPositionShiftChangeEvent
Change events are available for the object.
JobPositionShiftFeed
Feed tracking is available for the object.
JobPositionShiftHistory
History is available for tracked fields of the object.
JobPositionShiftOwnerSharingRule
Sharing rules are available for the object.
JobPositionShiftShare
Sharing is available for the object.