FLOW_GetPicklistValues.DTO_Response
Class
apex
global inherited sharing class FLOW_GetPicklistValues.DTO_ResponseProvides the outcome of the picklist values retrieval.
Since: 1.0
Fields
| Field | Description |
|---|---|
| global Boolean callSuccessful | Indicates if the retrieval was successful. |
| global String errorText | If the request was unsuccessful this will contain the error message. |
| global List pickLists | If the request was successful this will contain a list of picklists and their values for a given object and record type. |
Field Details
callSuccessful
apex
@InvocableVariable(required=true description='Indicates whether an error was encountered when performing a request' label='Call Successful') global Boolean callSuccessfulType: Boolean
Indicates if the retrieval was successful.
Since: 1.0
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 errorTextType: String
If the request was unsuccessful this will contain the error message.
Since: 1.0
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> pickListsType: List
If the request was successful this will contain a list of picklists and their values for a given object and record type.
Since: 1.0
Example:
apex
List<DTO_PickList> value = instance.pickLists;