Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
OAASRequest Class
Namespace
OAASRequest Properties
OAASRequest contains the following properties.
allTasksMode
Signature
public Boolean allTasksMode {get; set;}
Property Value
Type: Boolean
filterFieldAPIName
Signature
public String filterFieldAPIName {get; set;}
Property Value
Type: String
includeServicesWithEmptyLocation
Signature
public Boolean includeServicesWithEmptyLocation {get; set;}
Property Value
Type: Boolean
keepApptScheduled (Beta)
Signature
public String keepApptScheduled {get; set;}
Property Value
Type: String
Usage
Use this property to ensure that appointments are optimized but not removed from the schedule. They can be moved to another resource or time slot.
There are four possible property value options:
- Valid field name: the field name is a valid Boolean field on the ServiceAppointment object Service appointments that are marked as "Keep Scheduled" won't be dropped from the schedule after global or in-day optimization.
- Invalid field name: the field doesn't exist on the Service Appointment object or isn't a Boolean type. An error message appears.
- Null: Service appointments are marked "Keep Scheduled" based on the org-level defaults defined in the global or in-day optimization settings.+
- NO_KEEP_APPT_SCHEDULED: Service appointments aren't marked as "Keep Scheduled".
numberOfServicesToSchedule
Signature
public Integer numberOfServicesToSchedule {get; set;}
Property Value
Type: Integer