resolve_choice
Resolve a choice label to its underlying value in a ServiceNow field. Returns the full label-value mapping for a field when no label is provided.
Instructions
Resolve a choice label to its underlying value via ChoiceRegistry.
Args: table: ServiceNow table name. field: Field name on that table. label: Choice label to resolve. When empty, returns the full {label: value} mapping for the field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| field | Yes | ||
| label | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |