In ServiceNow, visibility and editability of fields for different users or roles can be controlled through several mechanisms. If you've already checked Access Control Lists (ACLs), client scripts, and UI Policies without finding the configuration causing this issue, here are some additional areas and concepts you might explore:
-
Field Level Security: Double-check the ACLs specifically for the 'sub category' field on the hardware table. It's possible to have an ACL that specifically targets a field rather than an entire record. Ensure there isn't an ACL explicitly hiding or making this field read-only for users without the 'y' role.
-
UI Policy Conditions: While you mentioned checking UI Policies, it's worth revisiting them to ensure there isn't a UI Policy that's being overlooked. A UI Policy could be configured in a way that it only applies to certain roles or under specific conditions that you might have missed in your initial check.
-
Data Policies: Similar to ACLs but often overlooked, Data Policies enforce data integrity and security by controlling the read, write, and mandatory states of fields. Check if there's a Data Policy affecting the visibility of the 'sub category' field for users without the 'y' role.
-
Form Design/Configuration: Go to the form design/configuration for the form view in question and make sure the 'sub category' field is not conditionally set to be hidden based on the user role or other conditions.
-
Role Inheritance: Sometimes the issue might not be with direct role assignment but with role inheritance. Ensure there's no role inheritance issue causing unexpected access limitations.
-
Client-Side Scripting: Beyond Client Scripts, also check for any Catalog Client Scripts (if your form is part of a service catalog item) or other JavaScript-based customizations that might manipulate field visibility dynamically based on user roles.
-
User Criteria: Particularly for Service Catalog items and some other applications within ServiceNow, User Criteria can control who can see what. Though less likely to affect a field in a list view or form directly, it's worth a quick check.
-
List Configuration: For the list view issue, specifically check the List Layout and List Control for the 'hardware' table to ensure there hasn't been a customization that hides the 'sub category' for certain users.
-
Debugging Tools: Use the Security Debugging tool (requires admin role) to impersonate a user without the 'y' role and access the form/list. This tool can provide insights into which security rules are blocking the visibility.
-
Custom Application Scripts: Lastly, there might be custom applications or Background Scripts created for specific use cases within your ServiceNow instance that could affect field visibility based on roles or other criteria.
If after exploring these areas, you're still facing the issue, consider reaching out to ServiceNow support or consulting the ServiceNow community forums. Often, issues that are hard to troubleshoot in isolation can be quickly resolved with input from others who might have faced similar challenges.