---
schema_version: "1"
id: 9969190883df2fd5059005ce96678d76feb05b9d53a17153e7d62c592f5bc14a
title: Action.Result Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_class_Invocable_Action_Result.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_Result.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: cf1584e580bf9561916a65974373cc5a59dde22c33425c619536fcd3a9a1dec8
description: Contains methods to retrieve results from invocable actions called from Apex code.Creates a copy of the Invocable.Action.Result.Gets the invocable action that was invoked and caused a result to be returned.Gets a list of errors that were returned by an invocable action.Gets a list of the parameter values set for an invocable action. This method returns a list that contains the input parameter values for each invocation of an action. Each map in the list contains a key for the name of each input parameter.Gets a list of the parameter values returned by an invocable action. This method returns a list that contains the result for each invocation of an action. Each map in the list contains a key for the name of each output parameter.Determines if an invocable action ran without errors.
---
# Action.Result Class

Contains methods to retrieve results from invocable actions called from Apex code.

## 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.")

- **[Action.Result Methods](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_Result.htm#apex_Invocable_Action_Result_methods)**

## Action.Result Methods

The methods are for Action.Result.

- **[clone()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_Result.htm#apex_Invocable_Action_Result_clone)**  
    Creates a copy of the Invocable.Action.Result.
- **[getAction()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_Result.htm#apex_Invocable_Action_Result_getAction)**  
    Gets the invocable action that was invoked and caused a result to be returned.
- **[getErrors()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_Result.htm#apex_Invocable_Action_Result_getErrors)**  
    Gets a list of errors that were returned by an invocable action.
- **[getInvocationParameters()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_Result.htm#apex_Invocable_Action_Result_getInvocationParameters)**  
    Gets a list of the parameter values set for an invocable action. This method returns a list that contains the input parameter values for each invocation of an action. Each map in the list contains a key for the name of each input parameter.
- **[getOutputParameters()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_Result.htm#apex_Invocable_Action_Result_getOutputParameters)**  
    Gets a list of the parameter values returned by an invocable action. This method returns a list that contains the result for each invocation of an action. Each map in the list contains a key for the name of each output parameter.
- **[isSuccess()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_Result.htm#apex_Invocable_Action_Result_isSuccess)**  
    Determines if an invocable action ran without errors.

### clone()

Creates a copy of the Invocable.Action.Result.

#### Signature

public Object clone()

#### Return Value

Type: Object

### 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.")

### getErrors()

Gets a list of errors that were returned by an invocable action.

#### Signature

public [List](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.")<[Invocable.Action.Error](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_Error.htm#apex_class_Invocable_Action_Error "Contains methods to retrieve errors returned by invocable actions.")\> getErrors()

#### Return Value

Type: [List](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.")<[Invocable.Action.Error](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Invocable_Action_Error.htm#apex_class_Invocable_Action_Error "Contains methods to retrieve errors returned by invocable actions.")\>

### getInvocationParameters()

Gets a list of the parameter values set for an invocable action. This method returns a list that contains the input parameter values for each invocation of an action. Each map in the list contains a key for the name of each input parameter.

#### Signature

public Map<String,Object\> getInvocationParameters()

#### Return Value

Type: [Map](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_map.htm#apex_methods_system_map "Contains methods for the Map 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."),Object>

### getOutputParameters()

Gets a list of the parameter values returned by an invocable action. This method returns a list that contains the result for each invocation of an action. Each map in the list contains a key for the name of each output parameter.

#### Signature

public Map<String,Object\> getOutputParameters()

#### Return Value

Type: [Map](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_map.htm#apex_methods_system_map "Contains methods for the Map 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."),Object>

### isSuccess()

Determines if an invocable action ran without errors.

#### Signature

public Boolean isSuccess()

#### 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 ran successfully.