- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2023 09:47 AM
Hi All,
i would like to get List of groups (type = request) of user from requested for to a reference type field.
can someone help me with Script include and advanced reference qualifier.
Thanks in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2023 08:32 AM
I would say this is the right way to do it on this request!!
--------------Script Include------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2023 10:43 AM - edited 10-17-2023 10:45 AM
Hello @Ram050670
Use this -
As I can see you are using something else.
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.👍
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2023 10:46 AM
javascript : new GroupUtils().getUserRequestGroups(current.variables.requested_for.toString())
GroupUtils() ---- this is script include name right
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2023 10:49 AM
Yes if that script include is in the same scope. Otherwise use api name.
And as I can see in your given screenshot you have written wrong code.
Use this code -
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.👍
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2023 10:52 AM - edited 10-17-2023 10:53 AM
so i made the changes: this is what i am using but shows all list
javascript: new CatalogClientUtil().getUserRequestGroups(current.variables.name.toString())
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2023 10:54 AM