SCRIPT INCLUDE ISSUE IN FETCHING THE CALLER DETAILS

Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 04:55 AM
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 05:48 AM
Hey,
First of, you can utilize g_form.getReference() for this, which is way easier. A great blog about this can be found here.
As to why your script does not work:
My assumption is the return of the guser GlideRecord. Here you don't just return the result you want, but the full glide record. I assume, that this causes some issues. Rather put the result in a separate object in your script include and return it as a simple object.
Regards
Fabian