Newer Version Available
AdvancedGapMatrix Class
Represents a matrix of service resource IDs and graded time slots. An
instance of this class is used only within the context of the results returned by the GradeSlotsService class.
Namespace
Example
For an example of how to parse the class results, see GradeSlotsService Class.
AdvancedGapMatrix Properties
AdvancedGapMatrix contains the following properties.
operationId
Populated only when scheduling a chain of two service appointments,
also known as complex work. An asynchronous call is made to schedule both service appointments
in the chain. This property contains the FSL__FSL_Operation__c ID.
Signature
public Id operationId {get; set;}
Property Value
Type: Id
Usage
To learn more about the complex work feature, see Create a Chain of Related Service Appointments for Field Service.
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, it returns the results
that were already calculated and halts the process. This list contains the details of the
partial, processed results. All other parameters are the same.
Signature
public List<FSL.PartialResultsInfo> partialResults {get; set;}
Property Value
Type: List<FSL.PartialResultsInfo>
resourceIDToScheduleData
A map that returns service resource IDs and their corresponding
available slots stored in the ResourceScheduleData
class.
Signature
public Map<Id, FSL.ResourceScheduleData> resourceIDToScheduleData {get; set;}
Property Value
Type: Map<Id, FSL.ResourceScheduleData>