How to restrict Child Domain data in Parent Domain for a particular tableIssue Usually, every Parent Domain has access to data of its hierarchy child domains. Can we restrict child domain data for user on Parent Domain? For example, there is user_A, domain_A, domain_AA, domain_AB. domain_AA and domain_AB are child domains of domain_A. user_A is located in domain_A. Can we restrict access to domain_AB for user_A?ResolutionCan we restrict access to domain_AB for user_A?> Yes, with query business ruleBelow is the Example on the Incident table> Create a new query Business rule on "Domain A" Table: IncidentAdvanced: TrueQuery: TrueFilter Condition: Domain 'is not' Domain_ABScript:// get the details of user sessionvar sess = gs.getSession();//Get the DomainID on current session of uservar domID = sess.getCurrentDomainID();//Validates if current session of user is Domain_Aif (id == '`sys_id of Domain_A`') {//Filters the query to restrict the data of Domain_AB when user is in Domain_Avar qu = current.addEncodedQuery('sys_domain!=`<sys_idofDomain_AB>`^ORsys_domain=NULL');}Related Linkshttps://docs.servicenow.com/csh?topicname=bp-before-query-business-rules.html&version=latest