create_ui_policy
Create UI policies to dynamically control field behavior in ServiceNow based on specified conditions and scripts.
Instructions
Create a new UI Policy to control field behavior dynamically (requires SCRIPTING_ENABLED=true)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| short_description | Yes | Policy description | |
| table | Yes | Table to apply this policy on | |
| conditions | No | Encoded query conditions that trigger the policy | |
| script | No | Optional script to run when conditions are met | |
| active | No | Whether to activate immediately (default: true) | |
| run_scripts | No | Run script in addition to UI actions (default: false) |