Get current location from mobile agent app
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2023 11:03 AM
I need to get the current location of the agent in field with the Mobile Agent App.
I already installed it and allowed to collect the geolocation information. It is creating records in the table geo_history from time to time.
I would like to get the current location when the agent opens a Work Order to know if he is already in the location to do the work and, if so, allow him to start work/finish work, otherwise the buttons do not appear. The problem is that I'm not able to find how ServiceNow get this information to store in geo_history table nor can use navigator.geolocation.getCurrentPosition() to get it. Is there a way that I can achive it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2024 05:02 AM
Hi,
Follow this link to get user's current location using SN Android Mobile App
If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!
Thanks & Regards,
Adarsh Gunjan