Newer Version Available

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

SchedulingConstraint

Represents the scheduling constraints of each service resource. This object is available in API version 50.0 and later.

Supported Calls

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

Special Access Rules

The org must have the Workforce Engagement license. To view records, user needs to have the Workforce Engagement Agent permission set. To create, edit, or delete records, the user must have the Workforce Engagement Planner permission set.

Fields

Field Details
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The date when the scheduling constraint 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 scheduling constraint was last viewed.
MaxShiftsPerDay
Type
int
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The maximum number of shifts an agent can have in a day.
MaxShiftsPerMonth
Type
int
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The maximum number of shifts an agent can have in a month.
MaxShiftsPerWeek
Type
int
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The maximum number of shifts an agent can have in a week.
MaxWorkingHoursPerDay
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
The maximum number of hours an agent can have in a day.
MaxWorkingHoursPerMonth
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
The maximum number of hours an agent can have in a month.
MaxWorkingHoursPerWeek
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
The maximum number of hours an agent can have in a week.
Name
Type
string
Properties
Create, Filter, Group, idLookup, Sort, Update
Description
The scheduling constraint record name.
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
The owner of the scheduling constraint.
This is a polymorphic relationship field.
Relationship Name
Owner
Relationship Type
Lookup
Refers To
Group, User

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 this object. Otherwise, they’re available in the specified API version and later.

SchedulingConstraintOwnerSharingRule
Sharing rules are available for the object.
SchedulingConstraintShare
Sharing is available for the object.