get_mandatory_fields
Check which fields ServiceNow Data Policies require before creating or updating a record to prevent mandatory field exceptions.
Instructions
List the fields that ServiceNow Data Policies make mandatory on a table (and when they apply). Call this before creating or updating a record so you can collect the required fields up front and avoid a "Data Policy Exception: the following fields are mandatory" error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name (e.g. "incident") |