sndev.io / docs

UI Policy

Form UI policies for field visibility, mandatory, and read-only.

The ui-policy skill creates form UI policies (sys_ui_policy) and their actions. Policies run client-side based on conditions and control field visibility, mandatory state, and read-only state.
OperationDescription
add_actionAdd a field action (visible/mandatory/read-only) to a policy
createCreate a UI policy with table and condition
Run sn ops ui-policy to see the full input schema for each operation.
You

Create a UI policy on the incident form that makes the 'resolution_code' field mandatory when state is Resolved.