The client-script skill creates form-level client scripts (sys_script_client). These execute in the browser when form events occur — on load, field change, submit, or cell edit in list view.
Client Script
Form-level client scripts (onChange, onLoad, onSubmit, onCellEdit).
| Operation | Description |
|---|---|
| create | Create a client script with table, type, and script body |
Run sn ops client-script to see the full input schema for each operation.
You
Add an onChange client script to the incident form that clears the subcategory when the category changes.