Table not creating new record
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Hello Experts,
I have custom application where we have created custom table. One of the table is not opening the new record. So when we open table in list view it loads the data but when we click on "New" then it should open instance/table.do that form it is not opening. and in error logs it gives error "Business unit not found". I have checked all client scripts/UI Policy/Business rules & Script include but not able to find this error anywhere in script. Can you help me to fix this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
did you clear instance cache using cache.do and logout and login again?
how about with admin user?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
52m ago
1. Find the exact error
Go to: System Logs > System Log > All
Look for the "Business unit not found" error
Look at the Source field - it tells you where the error is coming from
2. Check Data Policies (most common cause!)
Go to: System Policy > Data Policies
Search for your table
Temporarily disable all Data Policies
Try creating a new record
If it works → the problem is in a Data Policy
3. Search for the "business_unit" field
Run this script in Scripts - Background:
4. Search globally for the error text
Go to: System Definition > Search
Search for "Business unit not found"
Check in:
Business Rules
Script Includes
Access Controls (ACL)
5. Check Business Rules
Go to: System Definition > Business Rules
Filter for your table
Search for "business_unit" in the scripts
Temporarily disable all Business Rules Rules
Try creating the record
Could you post the full error message from the System Logs and the results of the test script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
35m ago
Hi @ankitadeshp
It might be a cache issue. Also, did you reference the BU table? That field might be causing the problem. Please check that as well.”
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]
****************************************************************************************************************
