location field should be populated by logged in userlocation

kiran kumar m1
Tera Contributor

I have a record producer in that I have a location(reference) variable , I want that field should be auto populated by the logged in user location.

5 REPLIES 5

Zach Koch
Giga Sage
Giga Sage

Take a look at this post, this functionality should work for what you need by using the user reference.

 

Thread 

If this information helped resolve your issue, please remember to mark response correct and thumbs up to help future community members on this information, thanks!

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

you can add below to the default field of the variable

javascript: gs.getUser().getLocation();

AnuragTripathi_0-1721047816007.png

 

-Anurag

Hi @Anurag Tripathi I have tried this but not working , I have selected cmn_location table in task specifications and kept this "javascript: gs.getUser().getLocation();"

in default value . Can you share your output ? 

Can you show a screenshot?

-Anurag