get_mandatory_fields
Lists mandatory fields enforced by ServiceNow Data Policies on a table, including when they apply, so you can collect required values before creating or updating records and avoid 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") |