Skip to content

FLOW_GetPicklistValues.DTO_Request ​

Class

apex
global inherited sharing class FLOW_GetPicklistValues.DTO_Request

Request DTO containing the information required to retrieve picklist values.


Fields ​

FieldDescription
global String objectApiNameThe object API name for the SObject whose picklist values are being retrieved.
global String recordTypeApiNameThe Record Type API name for which to retrieve specifically configured picklist values.

objectApiName ​

apex
@InvocableVariable(required=true description='The SObject Api Name' label='Object Name' placeholderText='Foobar__c') global String objectApiName

Type: String

The object API name for the SObject whose picklist values are being retrieved.

Example

apex
String value = instance.objectApiName;

recordTypeApiName ​

apex
@InvocableVariable(required=true description='The Record Type Api Name' label='Record Type Name' placeholderText='DefaultFoobar') global String recordTypeApiName

Type: String

The Record Type API name for which to retrieve specifically configured picklist values.

Example

apex
String value = instance.recordTypeApiName;