An incident has state set to 'In Progress' (value 2). When the user loads the form or updates the state, what is the resulting form behavior?
UI Policy sets both actions; Client Script reinforces mandatory.
Why this answer
The UI Policy is configured to run when the state is 'In Progress' (value 2). It sets the 'assigned_to' field as mandatory and hides the 'assignment_group' field. Since UI Policies run on the client side when the form loads or the state changes, the resulting behavior is that 'assigned_to' becomes mandatory and 'assignment_group' is hidden.
The Client Script does not override the UI Policy because UI Policies have higher priority in enforcing field behavior on the form.
Exam trap
ServiceNow often tests the misconception that Client Scripts can override UI Policies, but in reality, UI Policies are applied after Client Scripts on form load and have higher precedence for mandatory and visibility settings.
How to eliminate wrong answers
Option B is wrong because the UI Policy explicitly hides the 'assignment_group' field when state is 'In Progress', so it does not remain visible. Option C is wrong because Client Scripts do not override UI Policies; UI Policies are designed to enforce field behavior (mandatory, visible) and take precedence over Client Scripts that might try to change those properties. Option D is wrong because there is no indication of an error; the UI Policy and Client Script can coexist without causing an error, and the UI Policy's mandatory and hide actions execute successfully.