Newer Version Available
ScheduleResult Class
Represents the result of scheduling a service appointment that is
returned by the ScheduleService.schedule
method.
Namespace
Example
This example shows the contents of a returned ScheduledResult object.
ScheduleResult Properties
ScheduleResult contains the following properties.
longOperationId
This field only applies to scheduling service appointments that don’t use Enhanced
Scheduling and Optimization (ESO). Populated
when
scheduling a group of two dependent service appointments, also known as complex work. An
asynchronous call is made to schedule both service appointments in the dependency group. This
property contains the FSL__FSL_Operation__c ID.
Signature
public Id longOperationId {get; set;}
Property Value
Type: Id
Usage
To learn more about scheduling dependencies and complex work, see Create Scheduling Dependencies Between Service Appointments.
To learn about Enhanced Scheduling and Optimization, see Get Ready for Enhanced Scheduling and Optimization.
partialResults
Relevant only when Limit Apex Operations is enabled in the Field
Service Admin app. If the processing time of the ScheduleService is about to exceed the maximum CPU limits, partialResultsreturns
the results that were already calculated and halts the process. This list contains the details
of the partial, processed results.
Signature
public List<FSL.PartialResultsInfo> partialResults {get; set;}
Property Value
Type: List<FSL.PartialResultsInfo>