- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2022 08:33 PM
Hello Community,
I have a variable "ABC"(backend value abc) which is a reference field to the user table on a record producer and default value I used is javascript:gs.getUserID(). I have other variable XYZ (String) so here in the default value I am using the following line of script - javascript: new sn_hr_core.hrGlideAjaxUtil().getABCXYZ(current.abc);
so when I am passing current.abc says undefined when passed as parameter.
Any help is greatly appreciated.
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2022 07:25 AM
Hello @Community Alums I figured out the solution I used gs.getUserID() in the place of current.abc.
Thanks for your time!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2022 08:36 PM
Try current.variables.abc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2022 08:38 PM
Hello @Community Alums It is on record producer but still I tried current.variables.abc still doesn't work

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2022 04:37 AM
Okay. Could you share the script Include code.
Also check the scope of the script include is accessible from all the scopes if they are different scopes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2022 07:25 AM
Hello @Community Alums I figured out the solution I used gs.getUserID() in the place of current.abc.
Thanks for your time!