Newer Version Available
Using the Process.PluginDescribeResult Class
Use the Process.Plugin interface describe method to dynamically provide both input and
output parameters for the flow. This method returns the Process.PluginDescribeResult class.
The Process.PluginDescribeResult class doesn’t
support the following functions.
- Queries
- Data modification
- Apex nested callouts
Process.PluginDescribeResult Class and Subclass Properties
Here’s the constructor for the Process.PluginDescribeResult
class.
- PluginDescribeResult Class Properties
- PluginDescribeResult.InputParameter Class Properties
- PluginDescribeResult.OutputParameter Class Properties
Here’s the constructor for the Process.PluginDescribeResult.InputParameter
class.
Here’s the constructor for the Process.PluginDescribeResult.OutputParameter
class.
To use the Process.PluginDescribeResult class,
create instances of these subclasses.
- Process.PluginDescribeResult.InputParameter
- Process.PluginDescribeResult.OutputParameter
Process.PluginDescribeResult.InputParameter is a
list of input parameters and has the following
format.
For
example:
Process.PluginDescribeResult.OutputParameter is a
list of output parameters and has the following
format.
For
example:
Both classes take the Process.PluginDescribeResult.ParameterType Enum. Valid values are:
- BOOLEAN
- DATE
- DATETIME
- DECIMAL
- DOUBLE
- FLOAT
- ID
- INTEGER
- LONG
- STRING
For
example: