PluginResult Class

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

Namespace

Tip

Tip

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

  • The interface doesn’t support Blob, Collection, sObject, and Time data types, and it doesn’t support bulk operations. Once you implement the interface on a class, the class can be referenced only from flows.
  • The annotation supports all data types and bulk operations. Once you implement the annotation on a class, the class can be referenced from flows, processes, and the Custom Invocable Actions REST API endpoint.

Process

PluginResult Properties

The following are properties for 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<String, Object>