Question 680
A ServiceNow administrator finds: A client script calls server-only GlideRecord methods directly and fails in the browser. 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 client script calls server-only GlideRecord methods directly and fails in the browser. The appropriate control is: Choose supported client scripts for interactive form behavior and server-side scripting APIs for database logic, access enforcement and integrations. It addresses the risk that running server-only APIs in a browser script or trusting a client script for authorization can create runtime failures and security bypasses. Check effectiveness with: A representative form test confirms supported client behavior while a direct server/API request enforces real permissions and persistence.
Incorrect Answers
Update set promotion dependency and rollback tracking: Out-of-order promotion or lost source identities can create untraceable production differences and make rollback unsafe. That mechanism alone cannot establish Client scripts versus server scripts and glide apis for this question.
Preview and resolve update set conflicts: Committing an unreviewed set can overwrite newer configuration or fail because referenced components are absent. Here the decisive check is Client scripts versus server scripts and glide apis, not that separate capability.
Script includes glideajax and integration contracts: An overly permissive callable script can reveal private records or accept unsafe parameters from a client or external system. The observed issue still requires Client scripts versus server scripts and glide apis; the proposed alternative tests another control.