capabilities.work

Get Picklist Values for a Record Type

A 2-step recipe with Salesforce. We can help you get access.

Recipe · 2 steps

Get Picklist Values for a Record Type

Retrieve picklist values for an object's record type.

  1. Read the object metadata to confirm the object exists and to learn which record types are defined on it before requesting picklist values.
  2. Retrieve the picklist values for every picklist field on the object scoped to the requested record type, including labels, valid values, and field dependencies.
What you'll need to have ready
  • objectApiName: The API name of the Salesforce object (e.g. Account, Contact, MyObject__c).
  • recordTypeId: The record type ID, or the string '012000000000000AAA' for the master record type.
For your developer

Arazzo workflow salesforce:get-picklist-values, 2 operations: getObjectInfo → getPicklistValues. Specs on APIs.io.