Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
call(action, args)
Signature
public Object call(String action, Map<String, Object> args)
Parameters
- action
- Type: String
- Action to call. Valid values are:
- getProductListV60— Retrieves a list of available products.
- getProductDetailsV60— Accepts productId parameter and retrieves the product details.
- args
- Type: Map<String, Object>
- First three keys must be input, output, and options. The required keys under
input depend on the method the action invokes. All actions require input,
output, and options arguments, but these can be empty if the action doesn’t
use them.
-
getProductDetailsV60
- productId— The productId argument of the action that’s called.
-
getProductDetailsV60
Return Value
Type: Map<String, Object>
Returns values of the corresponding action as described in the Parameters section above.
Usage
To use this method in an Integration Procedure, specify the class in the Remote Class property, the action in the Remote Method property, and the arguments in the Additional Input property.