location field should be populated by logged in userlocation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2024 05:43 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2024 05:50 AM
Take a look at this post, this functionality should work for what you need by using the user reference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2024 05:50 AM
Hi,
you can add below to the default field of the variable
javascript: gs.getUser().getLocation();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2024 06:10 AM
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 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2024 06:12 AM
Can you show a screenshot?