---
schema_version: "1"
id: a454102bd46b51769617a195ac1a73f99d2217901bddebc0b0243b7399caf312
title: PluginResult Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_class_Process_PluginResult.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Process_PluginResult.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 8c6f78222b08ae33cf94add50819fcefc45f58636e86c6aa073d12d380ad9f0d
description: Returns output parameters from the class that implements the Process.Plugin interface to the flow.Output parameters returned from the class that implements the interface to the flow.
---
# PluginResult Class

Returns output parameters from the class that implements the Process.Plugin interface to the flow.

## Namespace

![Tip](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/images/icon_note_tip.png)

#### Tip

We recommend using the @InvocableMethod annotation instead of the Process.Plugin interface.

- The interface doesn’t support Blob, Collection, and sObject, data types, and it doesn’t support bulk operations. After you implement the interface on a class, the class can be referenced only from flows.
- The annotation supports all data types and bulk operations. After you implement the annotation on a class, the class can be referenced from flows, processes, and the Custom Invocable Actions REST API endpoint.
- Legacy Apex actions aren’t supported in auto-layout in Flow Builder. Legacy Apex actions are only available to be added in free-form in Flow Builder. Existing actions can be edited in both auto-layout and free-form mode.
- You can customize how invocable actions created with @InvocableMethod appear in Flow Builder by using the InvocableActionExtension metadata file. Control parameter order, add picklists, create custom headers, and build partial custom property editors.

[Process](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_process.htm "The Process namespace provides an interface and classes for passing data between your organization and a flow.")

## PluginResult Properties

The following are properties for PluginResult.

- **[outputParameters](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Process_PluginResult.htm#apex_Process_PluginResult_outputParameters)**  
    Output parameters returned from the class that implements the interface to the flow.

### outputParameters

Output parameters returned from the class that implements the interface to the flow.

#### Signature

public MAP<String, ANY> outputParameters {get; set;}

#### Property 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>