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