nerdexam
ServiceNowServiceNow

CAD · Question #203

CAD Question #203: Real Exam Question with Answer & Explanation

The correct answer is A: A UI Policy's Actions execute before the UI Policy's Scripts. In a UI Policy, Actions (declarative settings like making a field mandatory, read-only, or visible/hidden) execute before the Scripts section. This means the Actions run first and apply their field-level changes, and then the Script block executes to perform any custom JavaScript

Submitted by ravi_2018· Apr 18, 2026Application User Interface

Question

Which one of the following is true?

Options

  • AA UI Policy's Actions execute before the UI Policy's Scripts
  • BThe execution order for a UI Policy's Scripts and Actions is determined at runtime
  • CA UI Policy's Scripts execute before the UI Policy's Actions
  • DA UI Policy's Actions and Scripts execute at the same time

Explanation

In a UI Policy, Actions (declarative settings like making a field mandatory, read-only, or visible/hidden) execute before the Scripts section. This means the Actions run first and apply their field-level changes, and then the Script block executes to perform any custom JavaScript logic. This execution order is fixed and predictable, not determined at runtime. Understanding this order is important when both Actions and Scripts manipulate the same fields, as the Script can override what Actions set.

Topics

#UI Policies#Client-side Scripting#Execution Order

Community Discussion

No community discussion yet for this question.

Full CAD PracticeBrowse All CAD Questions