Question 690
A ServiceNow administrator finds: A catalog client needs approved department data but a developer embeds a privileged database query directly in browser code. The intended correction must preserve access controls, business process consistency and the supported platform configuration. Which administrative change most directly addresses this specific failure?
Explanation
Correct Answer
The decisive detail is: A catalog client needs approved department data but a developer embeds a privileged database query directly in browser code. The appropriate control is: Expose reviewed reusable server logic through supported Script Includes and GlideAjax or scripted APIs with scoped access, validated inputs and auditable effects. It addresses the risk that an overly permissive callable script can reveal private records or accept unsafe parameters from a client or external system. Check effectiveness with: An authorized invocation returns only permitted data while malformed or cross-role requests are rejected and logged.
Incorrect Answers
Business rule recursion conditions and safe scripting: Unconditional current.update calls and broad triggers can repeat operations or overload the instance while masking the original change. That mechanism alone cannot establish Script includes glideajax and integration contracts for this question.
Client scripts versus server scripts and glide apis: Running server-only APIs in a browser script or trusting a client script for authorization can create runtime failures and security bypasses. That may be useful independently, but the missing requirement here is Script includes glideajax and integration contracts.
Ui policy order and cross-experience compatibility: Conflicting client-side policies can produce inconsistent required fields and prevent valid submissions for some user experiences. Here the decisive check is Script includes glideajax and integration contracts, not that separate capability.