Action.Result Class
Contains methods to retrieve results from invocable actions called from Apex code.
The methods are for Action.Result.
-
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.
Creates a copy of the Invocable.Action.Result.
public Object clone()
Type: Object
Gets the invocable action that was invoked and caused a result to be returned.
public Invocable.Action getAction()
Type: Invocable.Action
Gets a list of errors that were returned by an invocable action.
public List<Invocable.Action.Error> getErrors()
Type: List<Invocable.Action.Error>
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.
public Map<String,Object> getInvocationParameters()
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.
public Map<String,Object> getOutputParameters()
Determines if an invocable action ran without errors.
public Boolean isSuccess()
Type: Boolean
This method returns true if the invocable action ran successfully.