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
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
Community Discussion
No community discussion yet for this question.