We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Geolocation tracking not working at set frequency – only updates on task actions

Joaquin_Aguirre
Tera Contributor

Greetings,
I am working with the out-of-the-box geolocation tracking feature in ServiceNow. I understand there are two ways data can be recorded in the geo_history table:

  1. When saving or updating a record derived from the Task table (e.g., Work Order Task), and

  2. Periodically, based on the system property glide.geolocation.tracking.frequency.

However, I am unable to get the automatic tracking (based on frequency) to work. I have field agents working with Work Order Tasks, and geolocation data is only being recorded when they perform specific actions such as "Start Travel", "Start Work", or "Close Complete". No location data is recorded in between these actions.

Is there anything additional I need to configure to enable continuous tracking? Any guidance would be appreciated.

1 ACCEPTED SOLUTION

Daniel Hills
ServiceNow Employee

Hi @Joaquin_AguirreAgent location is not continuously/ tracked or logged to the geo_history table, and the geo_history table is only updated with an Agents location when they select "Start work" or "Start Travel". So the issue you're describing is working as expected.

 

I confirmed with the dev lead I work with that this is the expected behavior. He also replied with the following to take into consideration:

 

"Additionally there is a flow to periodically update the current location of agent also. However the precision of these periodic updates may be limited to latitude longitude alone and the time of the presence at a location may not be accurate.

These settings for frequency of sending latitude longitude are driven by functionality from Mobile platform and Mobile clients. Once configured the mobile clients start calling Geolocation APIs to update the latitude and longitude of the agent's mobile device.

 

There is one more condition for this - Since Apple and Google are cautious about location tracking features, along with enabling location features on the servicenow server, the Agent has to enable location tracking explicitly for Now agent app on their mobile device. It is OFF on the device by default."

 

Please let me know if there's anything else I can help out with.

View solution in original post

26 REPLIES 26

This is not what documentation says. Per the docs I should be able to enable continuous tracking at set intervals, and like the original poster this is not working for me. It does not look like this issue was actually resolved in this post. 

Hi @Andrew96, I'm sorry you're having issues getting tracking to work, I'll do my best to help out. I also apologize, I thought this issue had been resolved. Were you able to take a look at the reply that Junchi mentioned above? If you have and are still having trouble please let me know and I'll reach out to engineering again, or do anything in my power to help you out.

@Andrew96  



what is not working for you?

geo_history is updated based on action-based or manual

    •  
.
Add me on LinkedIn 🙂 https://www.linkedin.com/in/joshuachen0510/

Hi @Joshua Chen MTL, if you find incorrect docs on the site, if you could provide doc feedback with the thumbs down button and then describe the issue then it should be resolved. As you know I work on FSM docs. I can't speak for other teams but on my team we try to close all doc feedback items within the quarter if not sooner. If you also provide your email when submitting feedback it makes it easier for the writer to reach out if they have questions. If you have done this and the docs haven't been updated, then please send me the link I can try and get the feedback sent to the correct team. It concerns me that the product team is telling user the docs are incorrect and they're not being fixed. Thanks in advance, I always appreciate your comments/ feedback 🙂 

hi @Daniel Hills  looks like it has been updated, i edited my comment

previously it was mentioning android gets updatd every 15 min, now it has bee updated to 1 min

Note the following:

  • The Android version of the app updates geolocation data at 15 minute intervals. The app collects a user's location using the interval set in this property, but that data is still uploaded to your instance every 15 minutes."
.
Add me on LinkedIn 🙂 https://www.linkedin.com/in/joshuachen0510/