Newer Version Available

This content describes an older version of this product. View Latest

Using the Process.PluginDescribeResult Class

The Process.PluginDescribeResult class is used to determine the input parameters and output parameters needed by the Process.PluginResult 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 can't be used to do the following functions:
  • Queries
  • Data modification
  • Email
  • Apex nested callouts

Process.PluginDescribeResult Class and Subclass Properties

The following is the constructor for the Process.PluginDescribeResult class:
The following describe the properties of Process.PluginDescribeResult and its input and output parameter subclasses:
The following is the constructor of the Process.PluginDescribeResult.InputParameter class:
The following is the constructor of the Process.PluginDescribeResult.OutputParameter class:
To use the Process.PluginDescribeResult class, create instances of the following additional 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, which has the following values:
  • BOOLEAN
  • DATE
  • DATETIME
  • DECIMAL
  • DOUBLE
  • FLOAT
  • ID
  • INTEGER
  • LONG
  • STRING
For example: