Skip to content

FLOW_GetPicklistValues.DTO_Response ​

Class

apex
global inherited sharing class FLOW_GetPicklistValues.DTO_Response

Provides the outcome of the picklist values retrieval.


Fields ​

FieldDescription
global Boolean callSuccessfulIndicates if the retrieval was successful.
global String errorTextIf the request was unsuccessful this will contain the error message.
global List<DTO_PickList> pickListsIf the request was successful this will contain a list of picklists and their values for a given object and record type.

callSuccessful ​

apex
@InvocableVariable(required=true description='Indicates whether an error was encountered when performing a request' label='Call Successful') global Boolean callSuccessful

Type: Boolean

Indicates if the retrieval was successful.

Example

apex
Boolean value = instance.callSuccessful;

errorText ​

apex
@InvocableVariable(required=false description='Will contains the error message(s) if any are encountered' label='Error Text') global String errorText

Type: String

If the request was unsuccessful this will contain the error message.

Example

apex
String value = instance.errorText;

pickLists ​

apex
@InvocableVariable(required=false description=' will contain a list of picklist and their values for a given object and record type' label='PickList') global List<DTO_PickList> pickLists

Type: List

If the request was successful this will contain a list of picklists and their values for a given object and record type.

Example

apex
List<DTO_PickList> value = instance.pickLists;