Setup virtual jobs and estimated travel

A job can be categorised as Virtual Job meaning it will be delivered remotely and does not require travel (e.g: from the resource’s home address or any other addresses rather than from a client’s or a centre’s).

A feature has been introduced to accurately calculate the estimated travels of the resources between their Virtual Jobs or between Virtual Jobs and Onsite Jobs. For example, on the Job Allocation modal:

  • The estimated travel distances will equal to 0 between two virtual jobs for the same resource.
  • Or the distances will be calculated between the virtual and the onsite jobs (see below how a Virtual Jobs address is determined).

How to set up?

  • Navigate to Setup > Custom Metadata Types > HC_Job_Scheduling_Settings:
    • Use_Virtual_Location: used to enable this feature
      • Possible values: true, false
      • False will be defaulted
    • Virtual_Location_Field: used to determine which field in the Job indicating it is virtual
      • For example, create a checkbox field on Job object that indicates the job is virtual (e.g: sked_Virtual_Job__c), then set the setting to sked_Virtual_Job__c
      • This setting must have value when Use_Virtual_Location is set to True, otherwise set to N/A
      • Default value is N/A
    • Virtual_Location_Latitude: used to determine which field in the Job Allocation indicating the latitude of the location from where the resource will remotely deliver
      • For example, create a formula field on the Job Allocation object whereby the location of the resource’s home address (latitude) will be populated when a job is indicated as virtual (e.g:IF(

sked__Job__r.sked_Virtual_Job__c, sked__Resource__r.sked__GeoLocation__Latitude__s,sked__Job__r.sked__GeoLocation__Latitude__s)

  • This setting must have value when Use_Virtual_Location is set to True, otherwise set to N/A
  • Default value is N/A
  • Virtual_Location_Longitude: used to determine which field in the Job Allocation indicating the longitude of the location from where the resource will remotely deliver
    • For example, create a formula field on the Job Allocation object whereby the location of the resource’s home address (longitude) will be populated when a job is indicated as virtual (e.g: sked_Virtual_Location_Long__c), then set the setting to sked_Virtual_Location_Long__c
    • This setting must have value when Use_Virtual_Location is set to True, otherwise set to N/A
    • Default value is N/A

User Guide Details

What's in this guide

Scroll to Top