Unable to see records on User field(reference to User table) on Consumer table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2024 12:21 AM - edited 04-15-2024 03:30 AM
Unable to see records on User field(reference to User table) on Consumer table as we have reference qualifier on user field as javascript:new Consumer().getConsumerUserReferenceQualifier() which takes to Consumer Script include which refers to another Script include ConsumerImpl which has below function
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2024 12:32 AM
Looks like the script include is customized, Please check how the value of userExtensions field is stored.
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2024 01:17 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2024 02:07 AM
Hi @Sushma Uday C ,
I have one question
getConsumerUserReferenceQualifier: function() {
if(!gs.nil(this.userExtensions)) {
return "sys_class_nameIN" + this.userExtensions.join();
}
return "";
},
From where you got the value of this.userExtensions.join(); in your script
Thanks and Regards
Sarthak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2024 08:30 PM
seems userExtensions is a constant variable declared in initizlie function
did you check that?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader