Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Configuring Agent Assist in UI builder (custom scoped application, Vancouver)

Community Alums
Not applicable

Hi All,

 

I'm developing a scoped application that contains a workspace created using UI builder (from scratch). On the record page's Agent Assist tab item: 

tscott_0-1731575078344.png

I've configured as follows:

tscott_1-1731575173168.png

The table configuration, looks ok to me, when I load the page the agent assist just sits at loading and is unresponsive:

tscott_2-1731575452318.png

I've noticed that an error is logged when the page is loaded:

 

java.lang.NullPointerException: java.lang.NullPointerException: com.snc.contextual_search.impl.service.SearchServiceImpl.validateQueryString(SearchServiceImpl.java:1139)
com.snc.contextual_search.impl.service.SearchServiceImpl.search(SearchServiceImpl.java:170)

 

l've checked this document KB Article but the record page looks different to what I see (maybe the doc screenshot refers to a legacy version of the record page?).

 

Does anyone have any suggestions on how to troubleshoot this issue?

 

Thanks,

 

Tim.

1 ACCEPTED SOLUTION

Community Alums
Not applicable

The solution to this issue is to configure the "Agent Assist Search Prefetch 1" data source with the agent assist table config sys_id (in addition to the agent assist tab item shown in original post):

 

AgentAssistPrefetch-TableConfigMismatch.png

View solution in original post

2 REPLIES 2

Community Alums
Not applicable

Looping in @bradtiltonnow hope you don't mind Brad! 😉

Community Alums
Not applicable

The solution to this issue is to configure the "Agent Assist Search Prefetch 1" data source with the agent assist table config sys_id (in addition to the agent assist tab item shown in original post):

 

AgentAssistPrefetch-TableConfigMismatch.png