Database View is not working on prod

VasanthReddyP
Tera Contributor

One of my database views is not working on prod returning no records on prod and the same database view in lower regions working fine

1 ACCEPTED SOLUTION

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @VasanthReddyP 

Please check the individual tables to see if they contain any records.

  • If they do, try to identify if there’s any common record between the two tables (you can check this using list view or form view).

  • If you do not find any common records, it means the database is working correctly.

  • However, if you are getting common records when comparing the two tables in list view, then please recheck your database logic or where clause

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

View solution in original post

4 REPLIES 4

AndersBGS
Tera Patron
Tera Patron

Hi @VasanthReddyP ,

 

Ok, have you verified that your instances are aligned, and that your database view configuration is correct in PROD? If you need any additional help, please share some more details together with a snip.

 

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

GlideFather
Tera Patron

Hi @VasanthReddyP 

  • only the one database view doesn't return no record or none of the views?
    • is it a single view related or to all views?
  • what is lower region?
    • is it sub-prod environment or any other (which?) parts of PROD?
  • Is it related to a single user or more
    • what roles have you tested?

The more details you provide, the better others can help you

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


Hi @GlideFather ,

I have verified the database view it is not working only in prod and tested and working fine in dev region.
I have tested all the roles for both the table ACL's and tested for multiple users it is working in dev region and missing in prod returning 0 records in prod

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @VasanthReddyP 

Please check the individual tables to see if they contain any records.

  • If they do, try to identify if there’s any common record between the two tables (you can check this using list view or form view).

  • If you do not find any common records, it means the database is working correctly.

  • However, if you are getting common records when comparing the two tables in list view, then please recheck your database logic or where clause

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************