CSACertified System Administrator

Lessons › Domain 6: Data Migration and Integration (13%) › Lesson 27

UI Policies

About 12 minutes · Last checked against the CSA blueprint (January 2026): 3 December 2026

Step 1 · Learn

Changing form behaviour without code

This domain is called Data Migration and Integration, but on the exam it covers UI policies, business rules, update sets and scripting. Importing data belongs to domain 5.

A UI policy changes how fields behave on a form when a condition is met, without writing code. For example: when State is Resolved, make Resolution notes mandatory.

Parts of a UI policy

  • The table the policy applies to, such as Incident.
  • A condition, such as State is Resolved. Without a condition, the policy always applies.
  • UI policy actions: for each field, whether it becomes mandatory, visible or read-only.

Useful options

OptionMeaning
On loadAlso apply the policy when the form first opens, not only when values change
Reverse if falseUndo the actions when the condition is no longer true
OrderWhen several policies affect the same field, the one with the higher order number wins
Run scriptsOptionally run a client-side script when the condition is true or false

Where UI policies run

UI policies run in the browser, on forms. They do not apply when data arrives another way, for example through an import or an integration. To enforce a rule on data however it arrives, use a data policy, which is checked on the server.

Exam tip: UI policy before client scriptIf a field should become mandatory, visible or read-only, the best-practice answer is a UI policy, not a client script. Use scripts only when a UI policy cannot do the job.

Step 2 · Do

Require resolution notes

Agents resolve incidents without explaining the fix. Make Resolution notes mandatory when an incident is resolved. This is a practice environment of our own design, not the ServiceNow product. Complete the tasks in the task list.

practice-instance

Step 3 · Check

Exam-style questions

Select an answer and check it. Every answer includes an explanation.