Servicenow how to pass filter table names or regex to query sys_db_object and sys_db_view

skansal
Tera Contributor

Hi Team,

 

In Servicenow, while quering sys_db_object and sys_db_views to get the list of tables, do we have an option to pass table names or regex that matches some table names and return only matching ones in response.

 

If yes, please share the REST API call for the same.

 

Thanks in advance,

Shubham

4 REPLIES 4

vermaamit16
Kilo Patron

Hi @skansal 

 

Try as below in the REST API explorer :

 

AmitVerma_0-1707137409605.png

 

Thanks & Regards

Amit Verma

Thanks and Regards
Amit Verma

Hi @vermaamit16 

 

We have already tried this out, but still receiving all the records in response, not the filtered ones.

Is there any other way of filtering this?

 

Thanks,

Shubham

We did try this also, but not working.

 

Thanks,

shubham