Geolocation for field service agent

Rakesh
Tera Contributor

Hello Team, 

I have been working fsm module on my personal instance .

Requirement:

i want to get the current location of an field service agent . I have installed the geolocation plugin (com.snc.geolocation) and enabled the checkbox (Geo location tracked ) in the user table.

I have impersonated with the user who checkbox is enable and updated the task extending table like incident.
After updating also I am unable to populate the Longitude & Latitude . 

Can any one help me

 
 
11 REPLIES 11

Hi @Vasanth12 
Mobile agent app we are using . Can we capture the current location the Mobile app.

sajanrathod0192
Tera Expert

Hi Rakesh,

 

1. Create a variable of type GPS Coordinates

sajanrathod0192_0-1704976308771.png

 

2. Call that variable in Action item script 

3. Update the record from action item script

 

I am successfully populating the current coordinates of agent on work order task

sajanrathod0192_1-1704976421374.png

 

Hello @sajanrathod0192 

Thanks for the response.

Longitude and longitude it Will update each time with current location? 

 

How to call the variable in an action scrip and update the record,can you paste the code

Hi @Rakesh113 

Longitude and longitude it Will update each time with current location?  - No. Please note I created a action item. I am fetching the geo_loction variable in action item script.

You can check any OOB action item script(Approve/Reject/Close complete), you will get an idea. 

iztjkishan
Tera Contributor

Hi Rakesh,

 

Do you got any proper update for this requirement?

Even it is a req for me now. for fsm external user lat/long not populating in user table while raising incident from agent mobile app.

If you got solution can you share it.