0

Searching using Global Text Search global search made here


No Record found even though the record is there in the contacts custom table.
Not returning result even though the record is there in list


Found the solution. Added the custom table into the Search Groups and now it is working. search result Global search is not working for contacts in ServiceNow CRM. Do we need to configure anything to workout the phone number or name search globally?. I am new to Servicenow, Please help me how to enable this to perform global search.

Suhaib Janjua
  • 3,538
  • 16
  • 59
  • 73
Priya
  • 29
  • 2
  • 8
  • Please share how you are trying to do it. So that kit will help to narrow down the issue. Btw there is a configuration for Global Text Search in ServiceNow. – Suhaib Janjua Sep 03 '19 at 15:37
  • Added images in description.I am trying to search Phone Number and String Globally.Please tell what is the configuration i need to do. – Priya Sep 04 '19 at 05:47
  • What configuration do you have in your `Global Text Search` in ServiceNOW? – Suhaib Janjua Sep 04 '19 at 11:03
  • I have seen the configuration here -->System properties->Global text search #1.Enable Global Text Search: Yes #2.List of roles (comma-separated) that can use the Global Text Search capability: itil,text_search_admin,admin – Priya Sep 04 '19 at 11:50
  • #3.List of tables (comma-separated) that will not appear as options when setting up Global Text Search tables: sys_audit,sys_event,ecc_queue,ecc_event,syslog,syslog_transaction,sys_journal_field,sys_audit_relation,ecc_agent_log,ecc_mi_result,sysrule_escalate_history,sys_user_token,sys_time_dimension,sys_attachment_doc,sys_audit_delete #4.Query method for global text search:Simple Query – Priya Sep 04 '19 at 11:55
  • Which ServiceNow release you are using? (e.g. Jakarta, London, New York)? – Suhaib Janjua Sep 04 '19 at 11:58
  • My serviceNow Release is London – Priya Sep 04 '19 at 12:55
  • After adding the tables in search group ,now i am able to get results with text and phone number in Global search in CRM UI. But these search are working fine only with standard fields not with custom phone fields.Also i enabled text search in text index for the custom field. https://community.servicenow.com/community?id=community_question&sys_id=b2553f1ddba75b04a8562926ca96191b – Priya Sep 05 '19 at 07:13
  • Also i don't know how to do this with REST API? – Priya Sep 05 '19 at 07:26
  • What exactly you want to achieve? Do you want to know how to search using REST API? There is no such API available at the moment to make a global text search. You can use tables api or scripted rest api specifically – Suhaib Janjua Sep 05 '19 at 07:36
  • 1
    I want to achieve CRM behavior via REST API. So there is no REST API available for global search and using tables API we can search against one particular table like https://dev55738.service-now.com/api/now/table/customer_account?sysparm_query=nameSTARTSWITHAcc. Am i right ? – Priya Sep 05 '19 at 09:29
  • the contacts table which i added in search group is not custom table ,it is standard table customer_contact. – Priya Sep 05 '19 at 09:36
  • Yes you can use table api to search in any table you want like the one you have shared in the comment. Searching a record with name starts with Acc in customer_account table – Suhaib Janjua Sep 05 '19 at 09:49

0 Answers0