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.

ConnectApi.NBAStrategyInput

A recommendation strategy.
Property Type Description Required or Optional Available Version
contextRecordId String ID of the context record. For example, if the next best action is on a case detail page, the ID of the case. Optional 45.0
maxResults Integer Maximum number of results. Valid values are from 1 to 25. The default is 3. Optional 45.0
strategyContext Map<String, String> Variable and value mappings for the strategy. Optional 45.0
debugTrace Boolean Specifies whether to return trace and debug information in the response (true) or not (false). If unspecified, the default is false. Optional 45.0