This is a public Forum  publicRSS

Topic

    Todd
    Travel Time Calculation
    Topic posted July 11, 2018 by ToddWhiz 
    27 Views, 8 Comments
    Title:
    Travel Time Calculation
    Content:

    I've tried researching for this answer with no luck, most articles are around travel time and routing.  The questions is that we need to track travel time and travel time should calculate in between work orders and from "Activate Route" to first work order.  We work with many sub-contractors and need to be able to include this in their time so that it is included in their pay for time worked and traveled.

    Thanks

    Answer

     

    • Ravi Shankar

      Todd,

      Did you check the below:

      https://docs.oracle.com/en/cloud/saas/field-service/18a/faadu/working-with-resources.html#c_about_travel_stats

      Locations defined for a tech would also have a say in travel time calculation, specifically for the first activity.

      https://docs.oracle.com/en/cloud/saas/field-service/18a/facmu/working-with-resources.html#c_determiningResourceLocation

      OFSC provides SOAP API to collect GPS info.

      https://docs.oracle.com/en/cloud/saas/field-service/18a/faslk/index.html

      Hope this helps.

      Ravi

    • Zsolt

      Hi Guys,

      Just one comment for Ravi: if you use the first icon when composing answer on WEB then the URL will be clickable which results better usability.

      Regards,
      Zsolt

    • Todd

      Thanks guys for the feedback.  So when the resource activates route in the morning then they travel to the first activity, does the system store or can we send this travel time to our upstream system?  Use case is activate route then travel 30 minutes...they then start activity and ends it 60 minutes later so we would need to have to pay the contractor for 90 minutes.  They then would travel 20 minutes to their next activity....they then start activity and ends it 30 minutes later so we would need to pas 50 minutes to upstream system.  I know the duration that is passed is the total time of activity but need to somehow pass the travel time also to get a grand total.

      Thanks

    • Zsolt

      Hi Todd,

      Yes, the filed "travel" contains the travel time to that activity, and the "duration" hold the duration (If I'm right then activity_travel and activity_duration in Message Scenarios). The tricky one can be the last activity if you want to take consideration to the travel time to they homes from the last activity for the day.

      Regards,
      Zsolt

    • Todd

      Thanks Zsolt that is what I was looking for and will test it out passing this field to capture travel and then add to duration to get total.

      Good to have fellow OFSC to lend helpful advice.

      Todd

    • Todd

      It seems to be working from one activity to the next when using this travel field between activities but it doesn't for when the resource has activated his route and the 1st activity.  Is there a different way to capture this initial travel time at the beginning of the day?

      Thanks

    • Zsolt

      Is the Configuration / Resource Types / "Working time includes first travel to activity" option checked for the relevant technician?
      Zsolt

    • Todd

      Zsolt,

      Yes I found that setting and turned it on and will be testing again.  I just wasn't sure if that setting will interfere with the routing plan we have in place?

      Thanks