The Process.PluginRequest class passes input
parameters from the class that implements the interface to the flow.
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. 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.
This class has no methods.
Here’s an example of instantiating the Process.PluginRequest class with one input parameter.
Code Example
In this example, the code returns the subject of a Chatter post from a flow and posts
it to the current user's
feed.