Typeahead not working properly

mansigoel
Tera Contributor

Hello,

 

I have created a partner account and impersonated it even though it has one account relationship still it says no record found - 

mansigoel_0-1778493458584.png

But when I start typing romeo which is the account with which it has a relationship then it pops up. Ideally it must show when i click on the dropdown

mansigoel_1-1778493504769.png

Does anyone has any idea on this?

4 REPLIES 4

GlideFather
Tera Patron

Ahoy @mansigoel,

 

and what about the ACL on the referenced (Accounts) table?

 

Also, there might be some default value for the variable. Go to:

https://yourinstance.service-now.com/sc_cat_item_producer_list.do?sysparm_query=sys_id%3D300fd04b1b5da214722ec883604bcb78

 

and under the variables in the related list, open the Accounts variable and check for the default value:

GlideFather_0-1778493988539.png

 

According to what you described, it seems to me that there's some default value that is unavailable for such a user... 

 

If there's no default value, then check ACL on the account table, tjere might be soemthign that the user doesn't see all the records from the table (Debug with Access Analyser):

GlideFather_1-1778494097475.png

 

Let me know what you found there

 

_____
Answers generated by GlideFather. Check for accuracy.

hello @GlideFather 

 

This is the default value - javascript:gs.getUser().getCompanyID() which is being visible to him.

And when checked in access analyser he is able to read and write (passed)

Hmmmmm @mansigoel  I'm out of ideas :// and when you try for admin or another user, same thing?

 

Maybe try to analyse the permissions with other users as well and if nothing helps, create a case from the Support portal to get help from ServiceNow 

 

EDIT: I found this, it's something you can try: Get Company

I just validated in a background script and worked ok for me

_____
Answers generated by GlideFather. Check for accuracy.

Tanushree Maiti
Kilo Patron

Hi @mansigoel 

 

You can raise a case to your Servicenow Vendor (Hi Ticket) on it.

 

Post on Similar case : Partner Account relationship not working

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: