Create Field Dependency (Controlling/Dependent Picklist)
sf_create_field_dependencyCreate a field dependency to control dependent picklist values based on the controlling field selection. Only show relevant options when the controlling field equals a specified value.
Instructions
Creates a field dependency between a controlling picklist and a dependent picklist on the same object. When a user selects a value in the controlling field, only the relevant dependent field values appear. Example: when Country = 'USA', State shows only US states.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objectName | Yes | Object API name | |
| valueSettings | Yes | Value dependency mappings | |
| dependentField | Yes | Dependent picklist field API name | |
| controllingField | Yes | Controlling picklist field API name |