---
schema_version: "1"
id: a848ed682847a6bc2e7bb48865d3c09d53dbb06ad45f6ab90fd6891a42a9b9e5
title: Action.DescribeResult Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_class_Invocable_Action_DescribeResult.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_DescribeResult.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: c31d0eb68342d1efa2b6954c01cac6e98f727c12e010a2f837945c7e6e60bc2c
description: Contains methods to get metadata about invocable actions.Gets the invocable action that was invoked and caused a result to be returned.Indicates whether the invocable action allows transaction control.Gets the capability types supported by an invocable action.Gets the category of an invocable action.Gets the type of an invocable action.Gets the description of an invocable action.Gets a list of the generic types defined for an invocable action.Indicates whether an invocable action makes external callouts.Indicates whether an invocable action is a standard invocable action.Gets the icon ID for an invocable action.Gets the icon name for an invocable action.Gets a list of input parameters for an invocable action.Gets the type of an invocable action.Gets the description of an invocable action method.Gets the label of an invocable action method.Gets the name of an invocable action method.Gets the name of an invocable action.Gets a list of output parameters for an invocable action.Gets the target entity name for an invocable action.Gets the type of an invocable action.
---
# Action.DescribeResult Class

Contains methods to get metadata about invocable actions.

## Namespace

[Invocable](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_Invocable.htm "The Invocable namespace provides classes for calling invocable actions from Apex.")

## Example

Invocable.Action action = Invocable.Action.createStandardAction('otherActionName');
List<Invocable.Action.DescribeResult> results = action.getDescribe();

for (Invocable.Action.DescribeResult result : results) {
    for (Invocable.Action.InputParameter input : result.getInputs()) {
        List<Invocable.Action.AdditionalAttribute> attrs = input.getAdditionalAttributes();
        if (attrs != null) {
            for (Invocable.Action.AdditionalAttribute attr : attrs) {
                System.debug('Attribute: ' + attr.getName());
                System.debug('Data Type: ' + attr.getDataType());

                // Handle collection vs single value
                if (attr.getIsCollection()) {
                    if (attr.getDataType() == 'STRING') {
                        List<String> stringValues = attr.getValueAsStringList();
                        System.debug('String Values: ' + stringValues);
                    }
                } else {
                    System.debug('Value: ' + attr.getValue());
                }
            }
        }
    }
}

- **[Action.DescribeResult Methods](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_DescribeResult.htm#apex_Invocable_Action_DescribeResult_methods)**

## Action.DescribeResult Methods

The following are methods for Action.DescribeResult.

- **[getAction()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_DescribeResult.htm#apex_Invocable_Action_DescribeResult_getAction)**  
    Gets the invocable action that was invoked and caused a result to be returned.
- **[getAllowsTransactionControl()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_DescribeResult.htm#apex_Invocable_Action_DescribeResult_getAllowsTransactionControl)**  
    Indicates whether the invocable action allows transaction control.
- **[getCapabilityTypes()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_DescribeResult.htm#apex_Invocable_Action_DescribeResult_getCapabilityTypes)**  
    Gets the capability types supported by an invocable action.
- **[getCategory()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_DescribeResult.htm#apex_Invocable_Action_DescribeResult_getCategory)**  
    Gets the category of an invocable action.
- **[getConfigurationEditor()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_DescribeResult.htm#apex_Invocable_Action_DescribeResult_getConfigurationEditor)**  
    Gets the type of an invocable action.
- **[getDescription()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_DescribeResult.htm#apex_Invocable_Action_DescribeResult_getDescription)**  
    Gets the description of an invocable action.
- **[getGenericTypes()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_DescribeResult.htm#apex_Invocable_Action_DescribeResult_getGenericTypes)**  
    Gets a list of the generic types defined for an invocable action.
- **[getHasCallout()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_DescribeResult.htm#apex_Invocable_Action_DescribeResult_getHasCallout)**  
    Indicates whether an invocable action makes external callouts.
- **[getHasSystemGeneratedOutput()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_DescribeResult.htm#apex_Invocable_Action_DescribeResult_getHasSystemGeneratedOutput)**  
    Indicates whether an invocable action is a standard invocable action.
- **[getIconId()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_DescribeResult.htm#apex_Invocable_Action_DescribeResult_getIconId)**  
    Gets the icon ID for an invocable action.
- **[getIconName()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_DescribeResult.htm#apex_Invocable_Action_DescribeResult_getIconName)**  
    Gets the icon name for an invocable action.
- **[getInputs()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_DescribeResult.htm#apex_Invocable_Action_DescribeResult_getInputs)**  
    Gets a list of input parameters for an invocable action.
- **[getLabel()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_DescribeResult.htm#apex_Invocable_Action_DescribeResult_getLabel)**  
    Gets the type of an invocable action.
- **[getMethodDescription()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_DescribeResult.htm#apex_Invocable_Action_DescribeResult_getMethodDescription)**  
    Gets the description of an invocable action method.
- **[getMethodLabel()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_DescribeResult.htm#apex_Invocable_Action_DescribeResult_getMethodLabel)**  
    Gets the label of an invocable action method.
- **[getMethodName()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_DescribeResult.htm#apex_Invocable_Action_DescribeResult_getMethodName)**  
    Gets the name of an invocable action method.
- **[getName()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_DescribeResult.htm#apex_Invocable_Action_DescribeResult_getName)**  
    Gets the name of an invocable action.
- **[getOutputs()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_DescribeResult.htm#apex_Invocable_Action_DescribeResult_getOutputs)**  
    Gets a list of output parameters for an invocable action.
- **[getTargetEntityName()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_DescribeResult.htm#apex_Invocable_Action_DescribeResult_getTargetEntityName)**  
    Gets the target entity name for an invocable action.
- **[getType()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_DescribeResult.htm#apex_Invocable_Action_DescribeResult_getType)**  
    Gets the type of an invocable action.

### getAction()

Gets the invocable action that was invoked and caused a result to be returned.

#### Signature

public Invocable.Action getAction()

#### Return Value

Type: [Invocable.Action](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action.htm#apex_class_Invocable_Action "Contains methods to create, update, and retrieve information about invocable actions.")

### getAllowsTransactionControl()

Indicates whether the invocable action allows transaction control.

#### Signature

public Boolean getAllowsTransactionControl()

#### Return Value

Type: [Boolean](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_boolean.htm#apex_methods_system_boolean "Contains methods for the Boolean primitive data type.")

This method returns true if the invocable action allows transaction control.

### getCapabilityTypes()

Gets the capability types supported by an invocable action.

#### Signature

public List<String> getCapabilityTypes()

#### Return Value

Type: [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")\>

List of capability type identifiers of the invocable action.

### getCategory()

Gets the category of an invocable action.

#### Signature

public String getCategory()

#### Return Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

Category of the invocable action.

### getConfigurationEditor()

Gets the type of an invocable action.

#### Signature

public String getConfigurationEditor()

#### Return Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

Configuration editor identifier of the invocable action.

### getDescription()

Gets the description of an invocable action.

#### Signature

public String getDescription()

#### Return Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

Description of the invocable action.

### getGenericTypes()

Gets a list of the generic types defined for an invocable action.

#### Signature

public List<Invocable.Action.GenericType> getGenericTypes()

#### Return Value

Type: [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[Invocable.Action.GenericType](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_GenericType.htm#apex_class_Invocable_Action_GenericType "Contains methods to get metadata about generic type parameters for invocable actions.")\>

### getHasCallout()

Indicates whether an invocable action makes external callouts.

#### Signature

public Boolean getHasCallout()

#### Return Value

Type: [Boolean](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_boolean.htm#apex_methods_system_boolean "Contains methods for the Boolean primitive data type.")

This method returns true if the invocable action makes external callouts.

### getHasSystemGeneratedOutput()

Indicates whether an invocable action is a standard invocable action.

#### Signature

public Boolean getHasSystemGeneratedOutput()

#### Return Value

Type: [Boolean](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_boolean.htm#apex_methods_system_boolean "Contains methods for the Boolean primitive data type.")

This method returns true if the invocable action has system-generated output.

### getIconId()

Gets the icon ID for an invocable action.

#### Signature

public String getIconId()

#### Return Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

Icon ID of the invocable action.

### getIconName()

Gets the icon name for an invocable action.

#### Signature

public String getIconName()

#### Return Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

Icon name for the invocable action.

### getInputs()

Gets a list of input parameters for an invocable action.

#### Signature

public List<Invocable.Action.InputParameter> getInputs()

#### Return Value

Type: [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[Invocable.Action.InputParameter](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_InputParameter.htm#apex_class_Invocable_Action_InputParameter "Contains methods to get metadata about input parameters for invocable actions.")\>

### getLabel()

Gets the type of an invocable action.

#### Signature

public String getLabel()

#### Return Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

Label of the invocable action.

### getMethodDescription()

Gets the description of an invocable action method.

#### Signature

public String getMethodDescription()

#### Return Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

Describe of the invocable action method.

### getMethodLabel()

Gets the label of an invocable action method.

#### Signature

public String getMethodLabel()

#### Return Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

Label of the invocable action method.

### getMethodName()

Gets the name of an invocable action method.

#### Signature

public String getMethodName()

#### Return Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

Name of the invocable action method.

### getName()

Gets the name of an invocable action.

#### Signature

public String getName()

#### Return Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

Name of the invocable action.

### getOutputs()

Gets a list of output parameters for an invocable action.

#### Signature

public List<Invocable.Action.OutputParameter> getOutputs()

#### Return Value

Type: [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[Invocable.Action.OutputParameter](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_OutputParameter.htm#apex_class_Invocable_Action_OutputParameter "Contains methods about metadata returned by invocable actions.")\>

### getTargetEntityName()

Gets the target entity name for an invocable action.

#### Signature

public String getTargetEntityName()

#### Return Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

Target entity name of the invocable action.

### getType()

Gets the type of an invocable action.

#### Signature

public String getType()

#### Return Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

Type of the invocable action.